Welcome to mirror list, hosted at ThFree Co, Russian Federation.

api_errors.md « developer-guide « docs - github.com/cydrobolt/polr.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: adbe5e8bda4d064bebc044032a0c46ac4caed8d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## API Error Text Codes
To diagnose an unexpected or unhandled error, turn on the `APP_DEBUG` flag by setting
it to `true` in `.env`

`SERVER_ERROR`: A generic, unhandled error has occured.

`JSON_ONLY`: Only JSON-encoded data is available for this endpoint.

`MISSING_PARAMETERS`: Invalid or missing parameters.

`NOT_FOUND`: Object not found.

`ACCESS_DENIED`: User is not authorized to access the object.

`INVALID_ANALYTICS_TYPE`: Invalid analytics type requested.

`CREATION_ERROR`: An error occurred while creating the object.

`AUTH_ERROR`: An error occured while attempting to authenticate the user to the API.

`QUOTA_EXCEEDED`: User's API usage has exceeded alloted quota.

`ANALYTICS_ERROR`: Invalid bounds or unexpected error while fetching analytics data.