Getting error 415 when updating email subscription status


I'm trying to update subscription statuses of an email address. I get a "200 OK" returned from my http call, but when I check the API usage of my application I see the call has an error code of 415 beside it.
Does anyone know what error code 415 is?
The error code 415 does not seem to be documented.


415 is "Unsupported media type". Had to add a header to the http call "application/json".


Hi @Steve_N,

Correct. Many of the endpoints require the Content-Type: application/json header in the request. This is usually documented in the Method Details card near the top of an article.