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.
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.

