A 415 response typically occurs when your request’s Content-Type
specifies data in the wrong format, such as application/xml
when the API can only exchange text/csv
data.
The sample shows a typical 415 error:
{
"additionalDetail": {
"requestId": "b0d72389506ed2d1"
},
"detail": "The content type you provided is not supported. This endpoint supports only text/csv.",
"errorCode": "EKV_2000",
"instance": "/edgekv/error-instances/e49f531e-d2c2-4046-8e91-51bd26f590a8",
"status": 415,
"title": "Unsupported Media Type",
"type": "/edgekv/error-types/edgekv-unsupported-media-type"
}