Bad Request

If Frontier cannot understand a request due to invalid parameters, it will return a bad_request error. This is analogous to the HTTP 400 Error.

If you are encountering this error, check the invalid_field attribute on the extras object to see what field is triggering the error.

Attributes

As with all errors Frontier returns, bad_request 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

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.