Error
Last updated
Last updated
Should an error occur with your request, the aviowiki API will reply with an HTTP response code in the 4xx
or 5xx
range, depending on the type of error.
Errors in the 4xx
range relate to client errors, meaning that something unexpected happened with data supplied or an action requested by the client. This could be bad format or invalid authentication for example.
Errors in the 5xx
range relate to server errors, meaning that an unexpected exception happened in our backend while trying to serve your request.
When an error code is returned, the body of the response will contain a JSON object with the following properties:
Property
Type
Description
timestamp
string
The ISO 8601 formatted date and time of when the error occurred on the server. For example 2019-08-30T13:23:32.163+0000
status
number
The HTTP response code returned. For example 403
error
string
A description of the HTTP response code returned.
message
string
A human-readable message explaining what generated the error.
path
string
The resource path that was requested. This does not include the base URL. For example /airports/search
.