04-21-2020 07:19 AM
Hello,
Please suggest what could be causing the following error in REST POST Response:
“error”:
“REST API service endpoint returned error result: status code = 415, reason phrase = Unsupported Media Type”
Which setting can be changed for this?
04-21-2020 07:39 AM
A HTTP Status Code of 415 means the server does not like the Content-Type
of the REST Post. Can you verify that it’s being set correctly and that the server allows content of that type in the request?
04-21-2020 08:00 AM
Thank you! I just added Content-Type to the header and it worked.