This topic was automatically generated from Slack. You can find the original thread here.
Hi all, I have an incoming trigger with a HTTP payload being delivered to pipedream, to which I am stripping some fields and converting to a HTTP POST request destination with some data from the original payload.
I am getting a HTTP 400 bad request on the POST send, to which the receiving end seems to only accept data in their specific format.
Could anyone lend an eye to see what could be wrong with my json query for the HTTP POST trigger send?
If I click the RESULTS and Inputs for HTTP Request config, I can see the data is being pulled, but the end destination is still not accepting with a 400 Bad Request. Can anyone spot anything? I think it might be an additional { } required, but pipedream doesn’t accept it (Invalid or unexpected token)
Dylan Sather (Pipedream) : Could you do me a favor and visit your workflow’s Settings tab, and share the workflow with Pipedream support? If you can DM me the workflow URL and tell me the step in the workflow where it’s failing, that would help.
Do you mind if I test the step myself to see if I can help correct it?
Dylan Sather (Pipedream) : FYI here’s how we solved this, in case encounter the same issue:
We modified the JSON being sent from “raw” mode to structured mode in the Pipedream HTTP request builder.
Some APIs are strict with the type of data that gets passed, so I also changed the string “true” to the boolean value true, and changed one number to a string (you’ll see one of the values wrapped in String()). This made the types of data being passed consistent with the API docs.