This topic was automatically generated from Slack. You can find the original thread here.
i suddenly get this message when i try to update a orderstatus in woocommerce, do you know why?
Max redirects exceeded.
at RedirectableRequest.RedirectableRequest._processResponse (/pipedream/dist/code/2018ad37b06d2304de51b86aab0f0d3b579ff46d2fc4ff80e6842bc4921520ed/node_modules/.pnpm/follow-redirects@1.5.10/node_modules/follow-redirects/index.js:222:26)
at ClientRequest.RedirectableRequest._onNativeResponse (/pipedream/dist/code/2018ad37b06d2304de51b86aab0f0d3b579ff46d2fc4ff80e6842bc4921520ed/node_modules/.pnpm/follow-redirects@1.5.10/node_modules/follow-redirects/index.js:50:10)
at Object.onceWrapper (node:events:628:26)
at ClientRequest.emit (node:events:513:28)
at HTTPParser.parserOnIncomingClient (node:_http_client:701:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
at TLSSocket.socketOnData (node:_http_client:542:22)
at TLSSocket.emit (node:events:513:28)
at null.addChunk (node:internal/streams/readable:324:12)
at null.readableAddChunk (node:internal/streams/readable:297:9)
(update_order_status)
I’m sorry to hear you’re experiencing this issue. The error message you’re encountering indicates that there are too many redirects happening while trying to update the order status in WooCommerce. To help you further, can you please provide more information about the code you’re using to update the order status? This will help me understand the issue better and provide a solution.
It seems like you’re using the “Update Order Status” action in Pipedream for WooCommerce. To resolve the “Max redirects exceeded” error, please double-check your WooCommerce account connection and ensure that the provided Order ID and Status are correct. Here’s a quick reminder on how to use the “Update Order Status” action: 1. Search for the WooCommerce app from the step menu. 2. Select the “Update Order Status” action. 3. Connect your WooCommerce account. 4. Select an Order ID or pass an integer from a previous step. 5. Select a Status or pass a string from a previous step. 6. At the bottom of the step, click “Test” to run the action and test the configuration. If the issue persists, please visit https://pipedream.com/support for more support options.
I have made some DNS and IP changes the last days. Once i removed the existing API keys in woocommerce and generated new ones for pipedream it worked again.
I’m glad to hear that generating new API keys for WooCommerce resolved the issue you were facing. It’s possible that the DNS and IP changes affected the API keys’ validity, causing the “Max redirects exceeded” error. If you encounter any further issues or have questions, feel free to ask.