1178
Views
1
Comments
Connecting to a rest api gives me a 500 internal server error
Question
Sorry just a beginner but I am trying to connect to a rest api but always get the return 500 internal server error. When I test the rest api through a different way I get a normal response.

What did I do?
- Added the rest api in outsytems with a json response
- The rest api is added with the json response as structure
- Added the action to my screen preperation
- On my webscreen added a tablerecord list
- In the source record list the action response

I am using outsystems cloud if you where wondering :-)
2012-03-16 12-21-09
João Rosado
Staff
Hi Sander,

Check my answer on this topic on how to turn the detailed logging on: https://www.outsystems.com/forums/discussion/14062/rest-400-errors/

With that setting you will be able to see exactly what the REST API is sending and recieving to be able to compare with the external tool.

Hope it helps.

Regards,
João Rosado
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.