Error in REST POST

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?

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?

Thank you! I just added Content-Type to the header and it worked.

1 Like