Error 500 server error. Im getting this error for a web service request(Consuming a rest api) not for all requests. If there are 10 requests out of which 3 requests facing this error.
I have checked this in below link
https://success.outsystems.com/Documentation/10/Reference/Extensibility_and_Integration/REST_APIs/Exposed_REST_API/Built-in_HTTP_Status_Codes
I dont understand what can be the cause.
First of all,
what is your question?
I am assuming you want our help?
did you check the error log?
did you turn on the logging to troubleshoot or even full?
J. wrote:
Error or status code returned is not more specific. So will be good if get the returned status code or error more specific.
https://www.outsystems.com/forums/discussion/33272/setting-logging-level-of-a-rest-api/#Post115662
--------------------------------------------------------------------------------------
Ref : Kilian Hekhuis
Since this topic comes up every once in a while, I decided to write a quick guide aimed at the beginner level on how to set the Logging Level of an Exposed or Consumed REST API to aid in debugging. This can be useful in case you need to see what's going on when e.g. the server reports an unhelpful "500 Internal Server Error", and you need to see what's going on.
That's about it. In case of errors, look for signs that there's something wrong, e.g. missing data, missing authentication headers, malformatted data, etc. Note that by default, the Platform doesn't send data that has the default value, so be aware that depending on the values of the data you send, not everything may appear (which could also be the source of a problem if an external REST API expects this data anyway).
--------------------------------------------------------------
- Assif