Get an error 422 when using a post request

I keep getting the following error when using a post request
Error

Request failed with status code 422

    at null.createError (/var/task/node_modules/@lambda-v2/component-runtime/node_modules/axios/lib/core/createError.js:16:15)
    at null.settle (/var/task/node_modules/@lambda-v2/component-runtime/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/var/task/node_modules/@lambda-v2/component-runtime/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)
details
Message:
Request failed with status code 422
Total Duration:
3,333 ms
Compute Time:
3,280 ms
Execution Start:
2023-03-22T16:58:15.730Z
Execution End:
2023-03-22T16:58:19.063Z
Steps Executed:
1 / 2
Invocations:
1
Version:
171 (d_4ns1ekvQ)
Timestamp:

22/03/2023, 22:28:16

Duration:

521ms

Name:

Send POST Request

Description:

Send an HTTP POST request to any URL. Optionally configure query string parameters, headers and basic auth.

Version:

1.1.1

Source:

https://github.com/PipedreamHQ/pipedream/tree/master/components/http/actions/post-request/post-request.mjs

This keeps breaking the workflow ever so often

Hi there @we.care sorry to hear you’re having trouble getting started – that 422 is getting returned from whatever API you are making a POST request to. Are you able to consult their documentation to troubleshoot what is wrong with the request?

Thanks, I’m using the ScrapeNinja API Documentation (restyler) | RapidAPI API, I can see errors on the analytics dashboard, I check with their support and see what comes of it.