Internal Server Error

If there’s an internal error within Frontier, Frontier will return a server_error response. This response is a catch-all, and can refer to many possible errors in the Frontier server: a configuration mistake, a database connection error, etc.

Frontier does not expose information such as stack traces or raw error messages to a client. Doing so may reveal sensitive configuration data such as secret keys.

If you are encountering this error on a server you control, please check the Frontier log files for more details. The logs should contain detailed information to help you discover the root issue.

If you are encountering this error on the public DigitalBits infrastructure, please report an error on Frontier’s issue tracker and include the instance attribute. Any other information, such as the request that triggered the response, would be most welcome.

Attributes

As with all errors Frontier returns, server_error 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.
Instance String A token that uniquely identifies this request. Allows server administrators to correlate a client report with server log files.

Examples

{
  "type":     "https://developer.digitalbits.io/frontier/reference/errors/server-error.html",
  "title":    "Internal Server Error",
  "status":   500,
  "details":  "...",
  "instance": "d3465740-ec3a-4a0b-9d4a-c9ea734ce58a"
}

Not Implemented


Edit this doc in GitHub

THE FUTURE OF LOYALTY STARTS HERE

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