Martin
Martin10mo ago

CreateMyPDF API call

Hi All, I'm currently extending my workflow to send JSON data to the CreateMyPDF API. In short, I receive data from Supabase (via the Supabase Row node) and use this JSON output and combine it with a number of hardcoded parameters to format the body of the call (in a separate node), before triggering the call via the API Call node. It is supposed to return a URL (in a JSON response). My issue: Regardless of the value of the body, the API call returns 400. Using the same data via Postman provides the correct output. The only thing I can think of being an issue is that the JSON is somehow incorrectly formatted in Buildship due to my conversion of the data. Anyone created a flow similar to this?
No description
3 Replies
Martin
Martin10mo ago
No description
Gaurav Chadha
Gaurav Chadha10mo ago
Hi @Martin, I took a look at your workflow you shared via support. The API Call node is having different different from BuildShip's one in your workflow (in-case you have modified it), can you delete and add the API Call node from the node explorer, and test it in the individual node editor with raw values? Does it still gives same error? Also, yes the issue seems with the response format from the previous node, if you click on "Update Output Schema" on the previous node (Compile API Call body).
No description
Martin
Martin10mo ago
You, sir, are a legend! That worked perfectly on both counts - thank you very much, @Gaurav Chadha!