-
Notifications
You must be signed in to change notification settings - Fork 10
/
errors.json
70 lines (70 loc) · 1.87 KB
/
errors.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
63
64
65
66
67
68
69
70
{
"NotFound": {
"code": 404,
"message": "Not Found"
},
"ChangesetIdMismatch": {
"code": 409,
"message": "diff contains elements with changeset IDs %s\nwhich don't match the changeset ID %s that the diff was uploaded to"
},
"ClosedChangeset": {
"code": 409,
"message": "The changeset %s was closed at %s."
},
"DeleteMultiple": {
"code": 400,
"message": "Only one element can be deleted per request."
},
"ForkedChangeset": {
"code": 409,
"message": "Changeset %s has multiple forks, you must specify a version"
},
"IdMismatch": {
"code": 400,
"message": "Id mismatch between url parameter and xml.\n%s !== %s"
},
"InUse": {
"code": 412,
"message": "Cannot delete an element that is in use"
},
"InvalidBbox": {
"code": 400,
"message": "Invalid bbox query string parameter"
},
"MissingBbox": {
"code": 400,
"message": "Missing bbox query string parameter"
},
"MissingChangeset": {
"code": 400,
"message": "Changeset %s not found.\n The element must reference an existing changeset."
},
"MissingChangesetId": {
"code": 400,
"message": "Missing changeset ID: the element must have a changeset attribute with the id of an open changset"
},
"MissingParameter": {
"code": 400,
"message": "Missing parameter '%s'.\nThe parameter has to be the same in the URL (e.g. /api/0.6/nodes?nodes=123,456,789)"
},
"PlaceholderIdError": {
"code": 400,
"message": "Placeholder id is missing or non-unique"
},
"TypeMismatch": {
"code": 400,
"message": "Type mismatch between url parameter and xml."
},
"UnsupportedContentType": {
"code": 400,
"message": "Unsupported content-type"
},
"XmlParseError": {
"code": 400,
"message": "Error parsing XML"
},
"XmlMissingElement": {
"code": 400,
"message": "missing %s elements in XML"
}
}