-
Notifications
You must be signed in to change notification settings - Fork 29
/
error-codes.json
62 lines (62 loc) · 1.78 KB
/
error-codes.json
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"0001": {
"code": "API-0001",
"title": "Missing Index Key",
"details": "'${field}' is specified as the primary sort field, but is missing from the index key collection.",
"params": ["field"]
},
"0002": {
"code": "API-0002",
"title": "Hook Error",
"details": "${hookName} - ${errorMessage}",
"params": ["hookName", "errorMessage"]
},
"0003": {
"code": "API-0003",
"title": "Cache Path Missing",
"details": "`path` must be specified in the request body.",
"params": []
},
"0004": {
"code": "API-0004",
"title": "Database unavailable",
"details": "The database is currently unavailable. Please retry the request.",
"params": []
},
"0005": {
"code": "API-0005",
"title": "Unauthorised",
"details": "The request could not be fulfilled because it did not contain a valid bearer token.",
"params": []
},
"0006": {
"code": "API-0006",
"title": "Access denied",
"details": "The bearer token supplied in the request does not have sufficient permissions to perform the operation.",
"params": []
},
"0007": {
"code": "API-0007",
"title": "Current secret missing",
"details": "To update the client secret, the current secret must be supplied via the `currentSecret` property.",
"params": []
},
"0008": {
"code": "API-0008",
"title": "Current secret not valid",
"details": "The supplied current secret is not valid.",
"params": []
},
"0009": {
"code": "API-0009",
"title": "Partial access",
"details": "The bearer token supplied in the request only has partial access to the resource.",
"params": []
},
"0010": {
"code": "API-0010",
"title": "Bad query",
"details": "The query supplied in the request is not valid.",
"params": []
}
}