{“error”:{“message”:“The server had an error while processing your request. Sorry about that!”,“type”:“server_error”,“param”:null,“code”:null}}
DETAILS
at null.createError (/tmp/__pdg__/dist/code/4d17f5260907f527a06ec67798623979aa138f39e339b312a5241c4d5c109ad1/node_modules/.pnpm/axios@0.21.4/node_modules/axios/lib/core/createError.js:16:15)
at null.settle (/tmp/__pdg__/dist/code/4d17f5260907f527a06ec67798623979aa138f39e339b312a5241c4d5c109ad1/node_modules/.pnpm/axios@0.21.4/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/tmp/__pdg__/dist/code/4d17f5260907f527a06ec67798623979aa138f39e339b312a5241c4d5c109ad1/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)
It looks like you encountered an error with status code 500 while making an HTTP request using axios. This error indicates that the server had an issue processing your request. To handle errors more effectively and get detailed error messages, you can use the @pipedream/platform axios wrapper instead of the default axios package.
To use @pipedream/platform axios, you can import it in your Pipedream component like this:
import { axios } from "@pipedream/platform";
Then, you can make HTTP requests using the same API as axios, but with improved error handling. For example:
This will provide more detailed error messages in the Pipedream UI, making it easier to understand and debug issues with your HTTP requests.
I’m a bot powered by Pipedream and GPT-4. I’m still learning, so please double check my answers and code! Learn how to build your own.