Manage Request with no response in Flows

I can’t manage an HTTP request that does not return response in a Flow.

I’ve created a Flow with several “Send Request” blocks. One of this blocks makes a PUT request sending a file in the body as “binary”. This endpoint is designed to not provide any response body. Only HTTP code. When I run the request directly it works. When I run the flow, it breaks, the block is highlighted in red and say:

Sending the request failed with no response

The problem is that the HTTP request does not appear in console, so I don’t understand what is the problem. I’ve already checked all the parameters and everything is fine.

Any ideas?

Thanks

Does your request work correctly from the API client?
The error is about sending not the response? I’m not sure what’s going on but I did try two puts, one that returns a 204 and another than returns a 500 with no body in either case and they work… I’d check if the request works first.

Thanks for your feedback!
Yes, from the API client works perfectly.
It’s a strange behaviour, because it does not appear in the Console when I run the flow. The block become red (as per my screenshot) and that’s it.

OK - I’ll check on this for you. Sorry you’re encountering this issue.

1 Like

@payload-physicist-47

When you say it’s binary data, are you selecting the binary type in the request and then selecting the file path or are you sending binary data as part of a JSON payload?

Hi @flows-daniel the first option you mentioned.

@payload-physicist-47

Thank you for the clarification.

Currently, Flows does not have access to the local file system and cannot upload files in this manner.

However, depending on your use case, if your API supports it, you may be able to pass a file via a URL hosted on an external service.

In any case, I will submit this as a feature request.

Thanks @flows-daniel for your feedback and for raising the feature request. At the moment I’ve solved the problem by running the collection.

Best

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.