A 406 response typically results when your Accept
header requests data in an unsupported format.
The sample shows a typical 406 error:
{
"additionalDetail": {
"requestId": "c013848a02b29c4b"
},
"detail": "The content type you requested cannot be produced. This endpoint supports only application/json.",
"errorCode": "EKV_2000",
"instance": "/edgekv/error-instances/3b2a5196-4145-491d-90d2-1fa18c86c778",
"status": 406,
"title": "Not Acceptable",
"type": "/edgekv/error-types/edgekv-not-acceptable"
}