406
- Not Acceptable
Description
The server cannot generate a response that matches the list of acceptable values sent in the request's accept
header.
How to fix
Provide an accept: application/json
header in the request.
Please note that an exception applies to the GET /reports/{report_id}
endpoint. You can provide either accept: application/json
or accept: application/pdf
there.
Example
HTTP/1.1 406 Not Acceptable
content-length: 166
content-type: application/problem+json
date: Wed, 17 Apr 2024 10:42:01 GMT
upvest-request-id: afcd3c2f-6965-4e1b-bb3e-87a3b481ce29
{
"type": "https://docs.upvest.co/errors/not_acceptable",
"status": 406,
"title": "Not acceptable",
"request_id": "afcd3c2f-6965-4e1b-bb3e-87a3b481ce29"
}