Intermittent 401 Error in Shipstation Workflow: How to Resolve?

This topic was automatically generated from Slack. You can find the original thread here.

Hello! I’m having an issue with a Shipstation workflow. The workflow is live and it’s working most of the time, but every once in a while I’ll get a 401 error (unauthorized). I’ll rerun the workflow (without making any changes) and it will work just fine. I was hoping someone could help me out with this one?

Error - Request failed with status code 401
"401 Unauthorized" 
    at null.createError (/pipedream/dist/code/dfa85592aacaf37c6365dda14eab045479940ed58475e3f4ac9fbae4d016d12c/node_modules/.pnpm/axios@0.21.4/node_modules/axios/lib/core/createError.js:16:15)
    at null.settle (/pipedream/dist/code/dfa85592aacaf37c6365dda14eab045479940ed58475e3f4ac9fbae4d016d12c/node_modules/.pnpm/axios@0.21.4/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/pipedream/dist/code/dfa85592aacaf37c6365dda14eab045479940ed58475e3f4ac9fbae4d016d12c/node_modules/.pnpm/axios@0.21.4/node_modules/axios/lib/adapters/http.js:269:11)
    at IncomingMessage.emit (events.js:412:35)
    at null.endReadableNT (internal/streams/readable.js:1333:12)
    at process.processTicksAndRejections (internal/process/task_queues.js:82:21)

In case it helps - inspect/2QnX2Xw3n7nxzg94Q5G15Qz1stc

Can anyone help out on this?

In case of this error you need to check shipstation API key and secret key.

Whether it is proper or not?

and if proper and still face issue please update API key in shipstation account and use that in pipedream.