FANDOM


When an error is encountered by the API, as well as returning a 4xx or 5xx HTTP status, the details of the error are returned in an Error object in the response body.

Possible ErrorsEdit

This is a full list of the possible errors that can be returned by the API.

Error Description HTTP Status

application_inactive

The application that the specified access token was issued for has been deactivated.

400

held_sighting

The requested Sighting is on-hold and is hidden from the owner of the access token.

400

invalid_access_token

The access token specified is invalid. It may not exist, or may exist but have been revoked, or the application owner may have changed their client secret since the access token was issued.

400

invalid_cursor

The cursor specified to the API list method was invalid.

400
invalid_date A date passed to the API is not a valid date. 400

invalid_request

The API request was malformed, for example mandatory parameters may be missing.

400

maintenance

Resighting is currently undergoing essential maintenance and the API is unavailable.

503

method_not_allowed

A request was made using an unsupported HTTP request method, i.e. not GET, POST or OPTIONS.

405
method_not_found The specified API URL does not match a known API method. An HTTP 404 error. 404
permission_denied The current user is not permitted to perform the action. For example when an attempt is made to update a Sighting by someone who isn’t the owner of that Sighting. 400

processing_error

An error occurred during API processing.

400
resighting_too_far An attempt was made to make a resighting further than 100 metres from the original Sighting. 400

server_error

An unexpected server error occurred during processing of the API request. An HTTP 500 error.

500
sighting_already_in_locator The Sighting being added to the Locator is already in the Locator. 400
sighting_not_found The specified Sighting was not found. 400

upload_error

An error occurred with a blob upload.

400

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.