-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherrors.json
More file actions
34 lines (34 loc) · 1.02 KB
/
errors.json
File metadata and controls
34 lines (34 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"AKEY_MISMATCH": {
"code": 403,
"message": "AKey does not match with given URL param"
},
"UNKNOWN_ROUTE": {
"code": 404,
"message": "Unknown route"
},
"UNPROCESSABLE_ENTITY": {
"code": 422,
"message": "Unprocessable entity"
},
"INTERNAL_ERROR": {
"code": 500,
"message": "Internal error"
},
"MISSING_AUTHORIZATION": {
"code": 400,
"message": "Missing authorization header. Ensure that API Key is provided as Bearer token within Authorization header"
},
"UNKNOWN_AUTHORIZATION": {
"code": 404,
"message": "Authorization key invalid or not found. Ensure to send a Bearer Token within Authorization header"
},
"AKEY_NOT_REGISTERED": {
"code": 404,
"message": "Provided AKey has not been registered"
},
"INVALID_SYNC_FORMAT": {
"code": 422,
"message": "Sync object is invalid. Ensure to provide telemetry object and its data and / or location object"
}
}