BuildShipBBuildShip
Powered by
APA
BuildShip•7mo ago•
8 replies
AP

Struggles passing images from inputs to API Call Node with REST API Call.

I've been struggling trying to troubleshoot a 'no image provided' error code with the plant.ID api. I'm concerned my input node is not getting passed to my api call node at all or not being passed correctly. I tried putting an 'images' header in my actual api call node to see if that would fix it but no such luck. Any ideas on how I can troubleshoot this? My api call is working in postman and I've copied it into buildship excatly the same. If it's not an issues with the input to api call node pass, maybe it's a formatting issue or something to do with the image itself. I've tried multiple images and have had no luck. Thank you!
Solution
Hi @AP I've shared the solution over email, along with remix, you can try it, and followup on email if you feel stuck.

Also, sharing a part of it here - The issue is with the inputs, the image you are passing is nested inside objects and is not read in the API call body. Instead, use the file upload trigger to upload the picture as a multipart file and then pass it to your API Call node as body. From the file upload trigger, you'll get the buffer and path, which you can use.
Jump to solution
BuildShip banner
BuildShipJoin
Join founders, builders, devs using Low-code / No-code to create backend, APIs, scheduled Jobs, automation, AI workflows
7,971Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Rest Api call variable
rymackRrymack / ❓・buildship-help
3y ago
Repost API call node for calling Groq API .
FodronFFodron / ❓・buildship-help
11mo ago
Issue with a Rest API Call trigger
pablonajPpablonaj / ❓・buildship-help
17mo ago
Get a Value from the REST API Call Body
StuffytheTurtleSStuffytheTurtle / ❓・buildship-help
3y ago