Hi, I am doing a Rest API Call which will need to take an input a file as a parameter. It is showing 400 error when it is running. Please help us to solve the issues of 400 error
Thank you for your Reply. I solve the Rest API issues. There was a problem with the passing parameter. It is now working fine.
Sudip Dey wrote:
What was the issue about the parameter spefically? It was about the data type? The structure was different?
Some questions:
400 error is a "bad request" which may mean that something is malformed about the request. Could be you aren't sending the file correctly. The API might require a specific content-type header to be sent.
Without more information about the API you are trying to call, it's very difficult to help troubleshoot.
Hi Sudip Dey,
Refer the API Log to know the root cause.
Follow this article by Kilian Hekhuis
https://www.outsystems.com/forums/discussion/33272/setting-logging-level-of-a-rest-api/