Not Acceptable  [Go SDK]

When your client only accepts certain formats of data from Frontier and Frontier cannot fulfill that request, Frontier will return a not_acceptable error. This is analogous to a HTTP 406 Error.

For example, if your client only accepts an XML response (Accept: application/xml), Frontier will respond with a not_acceptable error.

If you are encountering this error, please check to make sure the criteria for content you’ll accept is correct.


As with all errors Frontier returns, not_acceptable follows the Problem Details for HTTP APIs draft specification guide and thus has the following attributes:

Attribute Type Description
type URL The identifier for the error. This is a URL that can be visited in the browser.
title String A short title describing the error.
status Number An HTTP status code that maps to the error.
detail String A more detailed description of the error.


$ curl -X GET -H "Accept: application/xml" ""
  "type": "",
  "title": "An acceptable response content-type could not be provided for this request",
  "status": 406

Edit this doc in GitHub


Stay up to date on the latest happenings at DigitalBits. Get the latest news.