diff options
Diffstat (limited to 'gnu-taler-error-codes/registry.rec')
-rw-r--r-- | gnu-taler-error-codes/registry.rec | 1571 |
1 files changed, 1377 insertions, 194 deletions
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec index b40b990..b9be57d 100644 --- a/gnu-taler-error-codes/registry.rec +++ b/gnu-taler-error-codes/registry.rec | |||
@@ -4,7 +4,9 @@ | |||
4 | # | 4 | # |
5 | %rec: TalerErrorCode | 5 | %rec: TalerErrorCode |
6 | %key: Value | 6 | %key: Value |
7 | %singular: Value | ||
7 | %typedef: ValueRange_t range 0 9999 | 8 | %typedef: ValueRange_t range 0 9999 |
9 | %typedef: ValueRange_t regexp /^[0123456789][0123456789][0123456789][0123456789]$/ | ||
8 | %constraint: ( Value < 100 ) || ( Value > 999 ) | 10 | %constraint: ( Value < 100 ) || ( Value > 999 ) |
9 | %type: Value ValueRange_t | 11 | %type: Value ValueRange_t |
10 | %mandatory: Value | 12 | %mandatory: Value |
@@ -15,194 +17,256 @@ | |||
15 | %type: Name Name_t | 17 | %type: Name Name_t |
16 | %unique: Name | 18 | %unique: Name |
17 | %mandatory: Name | 19 | %mandatory: Name |
20 | %singular: Name | ||
18 | # A status of 0 means not an HTTP status (i.e. created client-side) | 21 | # A status of 0 means not an HTTP status (i.e. created client-side) |
19 | %typedef: HttpStatus_t range 0 599 | ||
20 | %type: HttpStatus rec HttpStatusCode | 22 | %type: HttpStatus rec HttpStatusCode |
21 | %mandatory: HttpStatus | 23 | %mandatory: HttpStatus |
22 | %sort: Value | 24 | %sort: Value |
23 | 25 | ||
24 | # 0 - 99: Reserved for GENERIC error codes | 26 | # 0 - 99: Reserved for GENERIC error codes |
25 | 27 | ||
26 | Value: 0 | 28 | Value: 0000 |
27 | Name: NONE | 29 | Name: NONE |
28 | Description: Special code to indicate success (no error). | 30 | Description: Special code to indicate success (no error). |
29 | HttpStatus: 0 | 31 | HttpStatus: 0 |
30 | 32 | ||
31 | # We could not get the error code. | 33 | # We could not get the error code. |
32 | 34 | Value: 0001 | |
33 | Value: 1 | ||
34 | Name: INVALID | 35 | Name: INVALID |
35 | Description: A non-integer error code was returned in the JSON response. | 36 | Description: An error response did not include an error code in the format expected by the client. Most likely, the server does not speak the GNU Taler protocol. Check the URL and/or the network connection to the server. |
36 | HttpStatus: 0 | 37 | HttpStatus: 0 |
37 | 38 | ||
39 | Value: 0002 | ||
40 | Name: GENERIC_CLIENT_INTERNAL_ERROR | ||
41 | Description: An internal failure happened on the client side. Details should be in the local logs. Check if you are using the latest available version or file a report with the developers. | ||
42 | HttpStatus: 0 | ||
38 | 43 | ||
39 | # Fundamental problems detected client-side (10-19) | 44 | # Fundamental problems detected client-side (10-19) |
40 | 45 | ||
41 | Value: 10 | 46 | Value: 0010 |
42 | Name: GENERIC_INVALID_RESPONSE | 47 | Name: GENERIC_INVALID_RESPONSE |
43 | Description: The response we got from the server was not even in JSON format. | 48 | Description: The response we got from the server was not in the expected format. Most likely, the server does not speak the GNU Taler protocol. Check the URL and/or the network connection to the server. |
44 | HttpStatus: 0 | 49 | HttpStatus: 0 |
45 | 50 | ||
46 | Value: 11 | 51 | Value: 0011 |
47 | Name: GENERIC_TIMEOUT | 52 | Name: GENERIC_TIMEOUT |
48 | Description: An operation timed out. | 53 | Description: The operation timed out. Trying again might help. Check the network connection. |
49 | HttpStatus: 0 | 54 | HttpStatus: 0 |
50 | 55 | ||
51 | Value: 12 | 56 | Value: 0012 |
52 | Name: GENERIC_VERSION_MALFORMED | 57 | Name: GENERIC_VERSION_MALFORMED |
53 | Description: The version string given does not follow the expected CURRENT:REVISION:AGE Format. | 58 | Description: The protocol version given by the server does not follow the required format. Most likely, the server does not speak the GNU Taler protocol. Check the URL and/or the network connection to the server. |
54 | HttpStatus: 0 | 59 | HttpStatus: 0 |
55 | 60 | ||
56 | Value: 13 | 61 | Value: 0013 |
57 | Name: GENERIC_REPLY_MALFORMED | 62 | Name: GENERIC_REPLY_MALFORMED |
58 | Description: The service responded with a reply that was in JSON but did not satsify the protocol. Note that invalid cryptographic signatures should have signature-specific error codes. | 63 | Description: The service responded with a reply that was in the right data format, but the content did not satisfy the protocol. Please file a bug report. |
59 | HttpStatus: 0 | 64 | HttpStatus: 0 |
60 | 65 | ||
61 | Value: 14 | 66 | Value: 0014 |
62 | Name: GENERIC_CONFIGURATION_INVALID | 67 | Name: GENERIC_CONFIGURATION_INVALID |
63 | Description: There is an error in the client-side configuration, for example the base URL specified is malformed. | 68 | Description: There is an error in the client-side configuration, for example an option is set to an invalid value. Check the logs and fix the local configuration. |
64 | HttpStatus: 0 | 69 | HttpStatus: 0 |
65 | 70 | ||
71 | Value: 0015 | ||
72 | Name: GENERIC_UNEXPECTED_REQUEST_ERROR | ||
73 | Description: The client made a request to a service, but received an error response it does not know how to handle. Please file a bug report. | ||
74 | HttpStatus: 0 | ||
75 | |||
76 | Value: 0016 | ||
77 | Name: GENERIC_TOKEN_PERMISSION_INSUFFICIENT | ||
78 | Description: The token used by the client to authorize the request does not grant the required permissions for the request. Check the requirements and obtain a suitable authorization token to proceed. | ||
79 | HttpStatus: 403 | ||
80 | |||
66 | # Fundamental client-side protocol problems (20-29) | 81 | # Fundamental client-side protocol problems (20-29) |
67 | # (fundamental: cannot be helped, client is very broken) | 82 | # (fundamental: cannot be helped, client is very broken) |
68 | 83 | ||
69 | Value: 20 | 84 | Value: 0020 |
70 | Name: GENERIC_METHOD_INVALID | 85 | Name: GENERIC_METHOD_INVALID |
71 | Description: The HTTP method used is invalid for this endpoint. | 86 | Description: The HTTP method used is invalid for this endpoint. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers. |
72 | HttpStatus: 405 | 87 | HttpStatus: 405 |
73 | 88 | ||
74 | Value: 21 | 89 | Value: 0021 |
75 | Name: GENERIC_ENDPOINT_UNKNOWN | 90 | Name: GENERIC_ENDPOINT_UNKNOWN |
76 | Description: There is no endpoint defined for the URL provided by the client. | 91 | Description: There is no endpoint defined for the URL provided by the client. Check if you used the correct URL and/or file a report with the developers of the client software. |
77 | HttpStatus: 404 | 92 | HttpStatus: 404 |
78 | 93 | ||
79 | Value: 22 | 94 | Value: 0022 |
80 | Name: GENERIC_JSON_INVALID | 95 | Name: GENERIC_JSON_INVALID |
81 | Description: The JSON in the client's request was malformed (generic parse error). | 96 | Description: The JSON in the client's request was malformed. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers. |
82 | HttpStatus: 400 | 97 | HttpStatus: 400 |
83 | 98 | ||
84 | Value: 23 | 99 | Value: 0023 |
85 | Name: GENERIC_HTTP_HEADERS_MALFORMED | 100 | Name: GENERIC_HTTP_HEADERS_MALFORMED |
86 | Description: Some of the HTTP headers provided by the client caused the server to not be able to handle the request. | 101 | Description: Some of the HTTP headers provided by the client were malformed and caused the server to not be able to handle the request. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers. |
87 | HttpStatus: 400 | 102 | HttpStatus: 400 |
88 | 103 | ||
89 | Value: 24 | 104 | Value: 0024 |
90 | Name: GENERIC_PAYTO_URI_MALFORMED | 105 | Name: GENERIC_PAYTO_URI_MALFORMED |
91 | Description: The payto:// URI provided by the client is malformed. | 106 | Description: The payto:// URI provided by the client is malformed. Check that you are using the correct syntax as of RFC 8905 and/or that you entered the bank account number correctly. |
92 | HttpStatus: 400 | 107 | HttpStatus: 400 |
93 | 108 | ||
94 | Value: 25 | 109 | Value: 0025 |
95 | Name: GENERIC_PARAMETER_MISSING | 110 | Name: GENERIC_PARAMETER_MISSING |
96 | Description: A required parameter in the request was missing. | 111 | Description: A required parameter in the request was missing. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers. |
97 | HttpStatus: 400 | 112 | HttpStatus: 400 |
98 | 113 | ||
99 | Value: 26 | 114 | Value: 0026 |
100 | Name: GENERIC_PARAMETER_MALFORMED | 115 | Name: GENERIC_PARAMETER_MALFORMED |
101 | Description: A parameter in the request was malformed. | 116 | Description: A parameter in the request was malformed. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers. |
117 | HttpStatus: 400 | ||
118 | |||
119 | Value: 0027 | ||
120 | Name: GENERIC_RESERVE_PUB_MALFORMED | ||
121 | Description: The reserve public key was malformed. | ||
102 | HttpStatus: 400 | 122 | HttpStatus: 400 |
123 | FIXME: Fold with 26? | ||
103 | 124 | ||
125 | Value: 0028 | ||
126 | Name: GENERIC_COMPRESSION_INVALID | ||
127 | Description: The body in the request could not be decompressed by the server. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers. | ||
128 | HttpStatus: 400 | ||
104 | 129 | ||
105 | # Circumstantial client-side protocol problems (30-39) | 130 | # Circumstantial client-side protocol problems (30-39) |
106 | # (Circumstantial == may work with another server, but not this one) | 131 | # (Circumstantial == may work with another server, but not this one) |
107 | 132 | ||
108 | Value: 30 | 133 | Value: 0030 |
109 | Name: GENERIC_CURRENCY_MISMATCH | 134 | Name: GENERIC_CURRENCY_MISMATCH |
110 | Description: The currencies involved in the operation do not match. | 135 | Description: The currency involved in the operation is not acceptable for this server. Check your configuration and make sure the currency specified for a given service provider is one of the currencies supported by that provider. |
111 | HttpStatus: 400 | 136 | HttpStatus: 400 |
112 | 137 | ||
113 | Value: 31 | 138 | Value: 0031 |
114 | Name: GENERIC_URI_TOO_LONG | 139 | Name: GENERIC_URI_TOO_LONG |
115 | Description: The URI is longer than the longest URI the HTTP server is willing to parse. | 140 | Description: The URI is longer than the longest URI the HTTP server is willing to parse. If you believe this was a legitimate request, contact the server administrators and/or the software developers to increase the limit. |
116 | HttpStatus: 414 | 141 | HttpStatus: 414 |
117 | 142 | ||
118 | Value: 32 | 143 | Value: 0032 |
119 | Name: GENERIC_UPLOAD_EXCEEDS_LIMIT | 144 | Name: GENERIC_UPLOAD_EXCEEDS_LIMIT |
120 | Description: The body is too large to be permissible for the endpoint. | 145 | Description: The body is too large to be permissible for the endpoint. If you believe this was a legitimate request, contact the server administrators and/or the software developers to increase the limit. |
121 | HttpStatus: 413 | 146 | HttpStatus: 413 |
122 | 147 | ||
123 | 148 | ||
124 | # 40-49: available for future use | 149 | # 40-49: access control issues |
150 | Value: 0040 | ||
151 | Name: GENERIC_UNAUTHORIZED | ||
152 | Description: The service refused the request due to lack of proper authorization. | ||
153 | HttpStatus: 401 | ||
125 | 154 | ||
155 | Value: 0041 | ||
156 | Name: GENERIC_TOKEN_UNKNOWN | ||
157 | Description: The service refused the request as the given authorization token is unknown. | ||
158 | HttpStatus: 401 | ||
126 | 159 | ||
160 | Value: 0042 | ||
161 | Name: GENERIC_TOKEN_EXPIRED | ||
162 | Description: The service refused the request as the given authorization token expired. | ||
163 | HttpStatus: 401 | ||
164 | |||
165 | Value: 0043 | ||
166 | Name: GENERIC_TOKEN_MALFORMED | ||
167 | Description: The service refused the request as the given authorization token is malformed. | ||
168 | HttpStatus: 401 | ||
169 | |||
170 | Value: 0044 | ||
171 | Name: GENERIC_FORBIDDEN | ||
172 | Description: The service refused the request due to lack of proper rights on the resource. | ||
173 | HttpStatus: 403 | ||
127 | 174 | ||
128 | # Server-side database problems (50-59) | 175 | # Server-side database problems (50-59) |
129 | 176 | ||
130 | Value: 50 | 177 | Value: 0050 |
131 | Name: GENERIC_DB_SETUP_FAILED | 178 | Name: GENERIC_DB_SETUP_FAILED |
132 | Description: The service failed initialize its connection to the database. | 179 | Description: The service failed initialize its connection to the database. The system administrator should check that the service has permissions to access the database and that the database is running. |
133 | HttpStatus: 500 | 180 | HttpStatus: 500 |
134 | 181 | ||
135 | Value: 51 | 182 | Value: 0051 |
136 | Name: GENERIC_DB_START_FAILED | 183 | Name: GENERIC_DB_START_FAILED |
137 | Description: The service encountered an error event to just start the database transaction. | 184 | Description: The service encountered an error event to just start the database transaction. The system administrator should check that the database is running. |
138 | HttpStatus: 500 | 185 | HttpStatus: 500 |
139 | 186 | ||
140 | Value: 52 | 187 | Value: 0052 |
141 | Name: GENERIC_DB_STORE_FAILED | 188 | Name: GENERIC_DB_STORE_FAILED |
142 | Description: The service failed to store information in its database. | 189 | Description: The service failed to store information in its database. The system administrator should check that the database is running and review the service logs. |
143 | HttpStatus: 500 | 190 | HttpStatus: 500 |
144 | 191 | ||
145 | Value: 53 | 192 | Value: 0053 |
146 | Name: GENERIC_DB_FETCH_FAILED | 193 | Name: GENERIC_DB_FETCH_FAILED |
147 | Description: The service failed to fetch information from its database. | 194 | Description: The service failed to fetch information from its database. The system administrator should check that the database is running and review the service logs. |
148 | HttpStatus: 500 | 195 | HttpStatus: 500 |
149 | 196 | ||
150 | Value: 54 | 197 | Value: 0054 |
151 | Name: GENERIC_DB_COMMIT_FAILED | 198 | Name: GENERIC_DB_COMMIT_FAILED |
152 | Description: The service encountered an error event to commit the database transaction (hard, unrecoverable error). | 199 | Description: The service encountered an unrecoverable error trying to commit a transaction to the database. The system administrator should check that the database is running and review the service logs. |
153 | HttpStatus: 500 | 200 | HttpStatus: 500 |
154 | 201 | ||
155 | Value: 55 | 202 | Value: 0055 |
156 | Name: GENERIC_DB_SOFT_FAILURE | 203 | Name: GENERIC_DB_SOFT_FAILURE |
157 | Description: The service encountered an error event to commit the database transaction, even after repeatedly retrying it there was always a conflicting transaction. (This indicates a repeated serialization error; should only happen if some client maliciously tries to create conflicting concurrent transactions.) | 204 | Description: The service encountered an error event to commit the database transaction, even after repeatedly retrying it there was always a conflicting transaction. This indicates a repeated serialization error; it should only happen if some client maliciously tries to create conflicting concurrent transactions. It could also be a sign of a missing index. Check if you are using the latest available version and/or file a report with the developers. |
158 | HttpStatus: 500 | 205 | HttpStatus: 500 |
159 | 206 | ||
160 | Value: 56 | 207 | Value: 0056 |
161 | Name: GENERIC_DB_INVARIANT_FAILURE | 208 | Name: GENERIC_DB_INVARIANT_FAILURE |
162 | Description: The service's database is inconsistent and violates service-internal invariants. | 209 | Description: The service's database is inconsistent and violates service-internal invariants. Check if you are using the latest available version and/or file a report with the developers. |
163 | HttpStatus: 500 | 210 | HttpStatus: 500 |
164 | 211 | ||
165 | 212 | ||
166 | # Server-side computational problems (60-69) | 213 | # Server-side computational problems (60-69) |
167 | 214 | ||
168 | Value: 60 | 215 | Value: 0060 |
169 | Name: GENERIC_INTERNAL_INVARIANT_FAILURE | 216 | Name: GENERIC_INTERNAL_INVARIANT_FAILURE |
170 | Description: The HTTP server experienced an internal invariant failure (bug). | 217 | Description: The HTTP server experienced an internal invariant failure (bug). Check if you are using the latest available version and/or file a report with the developers. |
171 | HttpStatus: 500 | 218 | HttpStatus: 500 |
172 | 219 | ||
173 | Value: 61 | 220 | Value: 0061 |
174 | Name: GENERIC_FAILED_COMPUTE_JSON_HASH | 221 | Name: GENERIC_FAILED_COMPUTE_JSON_HASH |
175 | Description: The service could not compute a cryptographic hash over some JSON value. | 222 | Description: The service could not compute a cryptographic hash over some JSON value. Check if you are using the latest available version and/or file a report with the developers. |
223 | HttpStatus: 500 | ||
224 | |||
225 | Value: 0062 | ||
226 | Name: GENERIC_FAILED_COMPUTE_AMOUNT | ||
227 | Description: The service could not compute an amount. Check if you are using the latest available version and/or file a report with the developers. | ||
176 | HttpStatus: 500 | 228 | HttpStatus: 500 |
177 | 229 | ||
178 | 230 | ||
179 | # Server-side resource problems (70-79) | 231 | # Server-side resource problems (70-79) |
180 | 232 | ||
181 | Value: 70 | 233 | Value: 0070 |
182 | Name: GENERIC_PARSER_OUT_OF_MEMORY | 234 | Name: GENERIC_PARSER_OUT_OF_MEMORY |
183 | Description: The HTTP server had insufficient memory to parse the request. | 235 | Description: The HTTP server had insufficient memory to parse the request. Restarting services periodically can help, especially if Postgres is using excessive amounts of memory. Check with the system administrator to investigate. |
184 | HttpStatus: 500 | 236 | HttpStatus: 500 |
185 | 237 | ||
186 | Value: 71 | 238 | Value: 0071 |
187 | Name: GENERIC_ALLOCATION_FAILURE | 239 | Name: GENERIC_ALLOCATION_FAILURE |
188 | Description: The HTTP server failed to allocate memory. | 240 | Description: The HTTP server failed to allocate memory. Restarting services periodically can help, especially if Postgres is using excessive amounts of memory. Check with the system administrator to investigate. |
189 | HttpStatus: 500 | 241 | HttpStatus: 500 |
190 | 242 | ||
191 | Value: 72 | 243 | Value: 0072 |
192 | Name: GENERIC_JSON_ALLOCATION_FAILURE | 244 | Name: GENERIC_JSON_ALLOCATION_FAILURE |
193 | Description: The HTTP server failed to allocate memory for building JSON reply. | 245 | Description: The HTTP server failed to allocate memory for building JSON reply. Restarting services periodically can help, especially if Postgres is using excessive amounts of memory. Check with the system administrator to investigate. |
194 | HttpStatus: 500 | 246 | HttpStatus: 500 |
195 | 247 | ||
196 | Value: 73 | 248 | Value: 0073 |
197 | Name: GENERIC_CURL_ALLOCATION_FAILURE | 249 | Name: GENERIC_CURL_ALLOCATION_FAILURE |
198 | Description: The HTTP server failed to allocate memory for making a CURL request. | 250 | Description: The HTTP server failed to allocate memory for making a CURL request. Restarting services periodically can help, especially if Postgres is using excessive amounts of memory. Check with the system administrator to investigate. |
199 | HttpStatus: 500 | 251 | HttpStatus: 500 |
200 | 252 | ||
201 | # 80-99: available for future use | 253 | Value: 0074 |
254 | Name: GENERIC_FAILED_TO_LOAD_TEMPLATE | ||
255 | Description: The backend could not locate a required template to generate an HTML reply. The system administrator should check if the resource files are installed in the correct location and are readable to the service. | ||
256 | HttpStatus: 500 | ||
257 | |||
258 | Value: 0075 | ||
259 | Name: GENERIC_FAILED_TO_EXPAND_TEMPLATE | ||
260 | Description: The backend could not expand the template to generate an HTML reply. The system administrator should investigate the logs and check if the templates are well-formed. | ||
261 | HttpStatus: 500 | ||
262 | |||
263 | |||
202 | 264 | ||
265 | # 0080-0099: available for future use | ||
203 | 266 | ||
204 | 267 | ||
205 | # 100 - 999: VERBOTEN due to confusion with HTTP status codes (at least 100-599). | 268 | |
269 | # 0100 - 0999: VERBOTEN due to confusion with HTTP status codes (at least 100-599). | ||
206 | 270 | ||
207 | # 1000 - 1999: Reserved for exchange | 271 | # 1000 - 1999: Reserved for exchange |
208 | # 1000 - 1099: Reserved for EXCHANGE_GENERIC | 272 | # 1000 - 1099: Reserved for EXCHANGE_GENERIC |
@@ -245,7 +309,7 @@ HttpStatus: 403 | |||
245 | Value: 1007 | 309 | Value: 1007 |
246 | Name: EXCHANGE_GENERIC_KEYS_MISSING | 310 | Name: EXCHANGE_GENERIC_KEYS_MISSING |
247 | Description: The exchange failed to perform the operation as it could not find the private keys. This is a problem with the exchange setup, not with the client's request. | 311 | Description: The exchange failed to perform the operation as it could not find the private keys. This is a problem with the exchange setup, not with the client's request. |
248 | HttpStatus: 500 | 312 | HttpStatus: 503 |
249 | 313 | ||
250 | Value: 1008 | 314 | Value: 1008 |
251 | Name: EXCHANGE_GENERIC_DENOMINATION_VALIDITY_IN_FUTURE | 315 | Name: EXCHANGE_GENERIC_DENOMINATION_VALIDITY_IN_FUTURE |
@@ -262,6 +326,142 @@ Name: EXCHANGE_GENERIC_DENOMINATION_REVOKED | |||
262 | Description: Denomination key of the coin has been revoked. | 326 | Description: Denomination key of the coin has been revoked. |
263 | HttpStatus: 410 | 327 | HttpStatus: 410 |
264 | 328 | ||
329 | Value: 1011 | ||
330 | Name: EXCHANGE_GENERIC_SECMOD_TIMEOUT | ||
331 | Description: An operation where the exchange interacted with a security module timed out. | ||
332 | HttpStatus: 500 | ||
333 | |||
334 | Value: 1012 | ||
335 | Name: EXCHANGE_GENERIC_INSUFFICIENT_FUNDS | ||
336 | Description: The respective coin did not have sufficient residual value for the operation. The "history" in this response provides the "residual_value" of the coin, which may be less than its "original_value". | ||
337 | HttpStatus: 409 | ||
338 | |||
339 | Value: 1013 | ||
340 | Name: EXCHANGE_GENERIC_COIN_HISTORY_COMPUTATION_FAILED | ||
341 | Description: The exchange had an internal error reconstructing the transaction history of the coin that was being processed. | ||
342 | HttpStatus: 500 | ||
343 | |||
344 | Value: 1014 | ||
345 | Name: EXCHANGE_GENERIC_HISTORY_DB_ERROR_INSUFFICIENT_FUNDS | ||
346 | Description: The exchange failed to obtain the transaction history of the given coin from the database while generating an insufficient funds errors. | ||
347 | HttpStatus: 500 | ||
348 | |||
349 | Value: 1015 | ||
350 | Name: EXCHANGE_GENERIC_COIN_CONFLICTING_AGE_HASH | ||
351 | Description: The same coin was already used with a different age hash previously. | ||
352 | HttpStatus: 409 | ||
353 | |||
354 | Value: 1016 | ||
355 | Name: EXCHANGE_GENERIC_INVALID_DENOMINATION_CIPHER_FOR_OPERATION | ||
356 | Description: The requested operation is not valid for the cipher used by the selected denomination. | ||
357 | HttpStatus: 400 | ||
358 | |||
359 | Value: 1017 | ||
360 | Name: EXCHANGE_GENERIC_CIPHER_MISMATCH | ||
361 | Description: The provided arguments for the operation use inconsistent ciphers. | ||
362 | HttpStatus: 400 | ||
363 | |||
364 | Value: 1018 | ||
365 | Name: EXCHANGE_GENERIC_NEW_DENOMS_ARRAY_SIZE_EXCESSIVE | ||
366 | Description: The number of denominations specified in the request exceeds the limit of the exchange. | ||
367 | HttpStatus: 400 | ||
368 | |||
369 | Value: 1019 | ||
370 | Name: EXCHANGE_GENERIC_COIN_UNKNOWN | ||
371 | Description: The coin is not known to the exchange (yet). | ||
372 | HttpStatus: 404 | ||
373 | |||
374 | Value: 1020 | ||
375 | Name: EXCHANGE_GENERIC_CLOCK_SKEW | ||
376 | Description: The time at the server is too far off from the time specified in the request. Most likely the client system time is wrong. | ||
377 | HttpStatus: 400 | ||
378 | |||
379 | Value: 1021 | ||
380 | Name: EXCHANGE_GENERIC_AMOUNT_EXCEEDS_DENOMINATION_VALUE | ||
381 | Description: The specified amount for the coin is higher than the value of the denomination of the coin. | ||
382 | HttpStatus: 400 | ||
383 | |||
384 | Value: 1022 | ||
385 | Name: EXCHANGE_GENERIC_GLOBAL_FEES_MISSING | ||
386 | Description: The exchange was not properly configured with global fees. | ||
387 | HttpStatus: 500 | ||
388 | |||
389 | Value: 1023 | ||
390 | Name: EXCHANGE_GENERIC_WIRE_FEES_MISSING | ||
391 | Description: The exchange was not properly configured with wire fees. | ||
392 | HttpStatus: 500 | ||
393 | |||
394 | Value: 1024 | ||
395 | Name: EXCHANGE_GENERIC_PURSE_PUB_MALFORMED | ||
396 | Description: The purse public key was malformed. | ||
397 | HttpStatus: 400 | ||
398 | |||
399 | Value: 1025 | ||
400 | Name: EXCHANGE_GENERIC_PURSE_UNKNOWN | ||
401 | Description: The purse is unknown. | ||
402 | HttpStatus: 404 | ||
403 | |||
404 | Value: 1026 | ||
405 | Name: EXCHANGE_GENERIC_PURSE_EXPIRED | ||
406 | Description: The purse has expired. | ||
407 | HttpStatus: 410 | ||
408 | |||
409 | Value: 1027 | ||
410 | Name: EXCHANGE_GENERIC_RESERVE_UNKNOWN | ||
411 | Description: The exchange has no information about the "reserve_pub" that was given. | ||
412 | HttpStatus: 404 | ||
413 | |||
414 | Value: 1028 | ||
415 | Name: EXCHANGE_GENERIC_KYC_REQUIRED | ||
416 | Description: The exchange is not allowed to proceed with the operation until the client has satisfied a KYC check. | ||
417 | HttpStatus: 451 | ||
418 | |||
419 | Value: 1029 | ||
420 | Name: EXCHANGE_PURSE_DEPOSIT_COIN_CONFLICTING_ATTEST_VS_AGE_COMMITMENT | ||
421 | Description: Inconsistency between provided age commitment and attest: either none or both must be provided | ||
422 | HttpStatus: 400 | ||
423 | |||
424 | Value: 1030 | ||
425 | Name: EXCHANGE_PURSE_DEPOSIT_COIN_AGE_ATTESTATION_FAILURE | ||
426 | Description: The provided attestation for the minimum age couldn't be verified by the exchange. | ||
427 | HttpStatus: 400 | ||
428 | |||
429 | Value: 1031 | ||
430 | Name: EXCHANGE_GENERIC_PURSE_DELETED | ||
431 | Description: The purse was deleted. | ||
432 | HttpStatus: 410 | ||
433 | |||
434 | Value: 1032 | ||
435 | Name: EXCHANGE_GENERIC_AML_OFFICER_PUB_MALFORMED | ||
436 | Description: The public key of the AML officer in the URL was malformed. | ||
437 | HttpStatus: 400 | ||
438 | |||
439 | Value: 1033 | ||
440 | Name: EXCHANGE_GENERIC_AML_OFFICER_GET_SIGNATURE_INVALID | ||
441 | Description: The signature affirming the GET request of the AML officer is invalid. | ||
442 | HttpStatus: 403 | ||
443 | |||
444 | Value: 1034 | ||
445 | Name: EXCHANGE_GENERIC_AML_OFFICER_ACCESS_DENIED | ||
446 | Description: The specified AML officer does not have access at this time. | ||
447 | HttpStatus: 403 | ||
448 | |||
449 | Value: 1035 | ||
450 | Name: EXCHANGE_GENERIC_AML_PENDING | ||
451 | Description: The requested operation is denied pending the resolution of an anti-money laundering investigation by the exchange operator. This is a manual process, please wait and retry later. | ||
452 | HttpStatus: 451 | ||
453 | |||
454 | Value: 1036 | ||
455 | Name: EXCHANGE_GENERIC_AML_FROZEN | ||
456 | Description: The requested operation is denied as the account was frozen on suspicion of money laundering. Please contact the exchange operator. | ||
457 | HttpStatus: 451 | ||
458 | |||
459 | Value: 1037 | ||
460 | Name: EXCHANGE_GENERIC_KYC_CONVERTER_FAILED | ||
461 | Description: The exchange failed to start a KYC attribute conversion helper process. It is likely configured incorrectly. | ||
462 | HttpStatus: 500 | ||
463 | |||
464 | |||
265 | Value: 1100 | 465 | Value: 1100 |
266 | Name: EXCHANGE_DEPOSITS_GET_NOT_FOUND | 466 | Name: EXCHANGE_DEPOSITS_GET_NOT_FOUND |
267 | Description: The exchange did not find information about the specified transaction in the database. | 467 | Description: The exchange did not find information about the specified transaction in the database. |
@@ -297,15 +497,20 @@ Name: EXCHANGE_DEPOSITS_GET_MERCHANT_SIGNATURE_INVALID | |||
297 | Description: The signature of the merchant is invalid. | 497 | Description: The signature of the merchant is invalid. |
298 | HttpStatus: 403 | 498 | HttpStatus: 403 |
299 | 499 | ||
500 | Value: 1107 | ||
501 | Name: EXCHANGE_DEPOSITS_POLICY_NOT_ACCEPTED | ||
502 | Description: The provided policy data was not accepted | ||
503 | HttpStatus: 400 | ||
504 | |||
300 | Value: 1150 | 505 | Value: 1150 |
301 | Name: EXCHANGE_WITHDRAW_INSUFFICIENT_FUNDS | 506 | Name: EXCHANGE_WITHDRAW_INSUFFICIENT_FUNDS |
302 | Description: The given reserve does not have sufficient funds to admit the requested withdraw operation at this time. The response includes the current "balance" of the reserve as well as the transaction "history" that lead to this balance. | 507 | Description: The given reserve does not have sufficient funds to admit the requested withdraw operation at this time. The response includes the current "balance" of the reserve as well as the transaction "history" that lead to this balance. |
303 | HttpStatus: 409 | 508 | HttpStatus: 409 |
304 | 509 | ||
305 | Value: 1151 | 510 | Value: 1151 |
306 | Name: EXCHANGE_WITHDRAW_RESERVE_UNKNOWN | 511 | Name: EXCHANGE_AGE_WITHDRAW_INSUFFICIENT_FUNDS |
307 | Description: The exchange has no information about the "reserve_pub" that was given. | 512 | Description: The given reserve does not have sufficient funds to admit the requested age-withdraw operation at this time. The response includes the current "balance" of the reserve as well as the transaction "history" that lead to this balance. |
308 | HttpStatus: 404 | 513 | HttpStatus: 409 |
309 | 514 | ||
310 | Value: 1152 | 515 | Value: 1152 |
311 | Name: EXCHANGE_WITHDRAW_AMOUNT_FEE_OVERFLOW | 516 | Name: EXCHANGE_WITHDRAW_AMOUNT_FEE_OVERFLOW |
@@ -323,10 +528,15 @@ Description: The signature of the reserve is not valid. | |||
323 | HttpStatus: 403 | 528 | HttpStatus: 403 |
324 | 529 | ||
325 | Value: 1155 | 530 | Value: 1155 |
326 | Name: EXCHANGE_WITHDRAW_HISTORY_ERROR_INSUFFICIENT_FUNDS | 531 | Name: EXCHANGE_RESERVE_HISTORY_ERROR_INSUFFICIENT_FUNDS |
327 | Description: When computing the reserve history, we ended up with a negative overall balance, which should be impossible. | 532 | Description: When computing the reserve history, we ended up with a negative overall balance, which should be impossible. |
328 | HttpStatus: 500 | 533 | HttpStatus: 500 |
329 | 534 | ||
535 | Value: 1156 | ||
536 | Name: EXCHANGE_GET_RESERVE_HISTORY_ERROR_INSUFFICIENT_BALANCE | ||
537 | Description: The reserve did not have sufficient funds in it to pay for a full reserve history statement. | ||
538 | HttpStatus: 409 | ||
539 | |||
330 | Value: 1158 | 540 | Value: 1158 |
331 | Name: EXCHANGE_WITHDRAW_DENOMINATION_KEY_LOST | 541 | Name: EXCHANGE_WITHDRAW_DENOMINATION_KEY_LOST |
332 | Description: Withdraw period of the coin to be withdrawn is in the past. | 542 | Description: Withdraw period of the coin to be withdrawn is in the past. |
@@ -337,9 +547,39 @@ Name: EXCHANGE_WITHDRAW_UNBLIND_FAILURE | |||
337 | Description: The client failed to unblind the blind signature. | 547 | Description: The client failed to unblind the blind signature. |
338 | HttpStatus: 0 | 548 | HttpStatus: 0 |
339 | 549 | ||
340 | Value: 1200 | 550 | Value: 1160 |
341 | Name: EXCHANGE_DEPOSIT_INSUFFICIENT_FUNDS | 551 | Name: EXCHANGE_WITHDRAW_NONCE_REUSE |
342 | Description: The respective coin did not have sufficient residual value for the /deposit operation (i.e. due to double spending). The "history" in the response provides the transaction history of the coin proving this fact. | 552 | Description: The client re-used a withdraw nonce, which is not allowed. |
553 | HttpStatus: 409 | ||
554 | |||
555 | Value: 1161 | ||
556 | Name: EXCHANGE_AGE_WITHDRAW_COMMITMENT_UNKNOWN | ||
557 | Description: The client provided an unknown commitment for an age-withdraw request. | ||
558 | HttpStatus: 400 | ||
559 | |||
560 | Value: 1162 | ||
561 | Name: EXCHANGE_AGE_WITHDRAW_AMOUNT_OVERFLOW | ||
562 | Description: The total sum of amounts from the denominations did overflow. | ||
563 | HttpStatus: 500 | ||
564 | |||
565 | Value: 1163 | ||
566 | Name: EXCHANGE_AGE_WITHDRAW_AMOUNT_INCORRECT | ||
567 | Description: The total sum of value and fees from the denominations differs from the committed amount with fees. | ||
568 | HttpStatus: 400 | ||
569 | |||
570 | Value: 1164 | ||
571 | Name: EXCHANGE_AGE_WITHDRAW_REVEAL_INVALID_HASH | ||
572 | Description: The original commitment differs from the calculated hash | ||
573 | HttpStatus: 400 | ||
574 | |||
575 | Value: 1165 | ||
576 | Name: EXCHANGE_AGE_WITHDRAW_MAXIMUM_AGE_TOO_LARGE | ||
577 | Description: The maximum age in the commitment is too large for the reserve | ||
578 | HttpStatus: 409 | ||
579 | |||
580 | Value: 1175 | ||
581 | Name: EXCHANGE_WITHDRAW_BATCH_IDEMPOTENT_PLANCHET | ||
582 | Description: The batch withdraw included a planchet that was already withdrawn. This is not allowed. | ||
343 | HttpStatus: 409 | 583 | HttpStatus: 409 |
344 | 584 | ||
345 | Value: 1205 | 585 | Value: 1205 |
@@ -347,6 +587,11 @@ Name: EXCHANGE_DEPOSIT_COIN_SIGNATURE_INVALID | |||
347 | Description: The signature made by the coin over the deposit permission is not valid. | 587 | Description: The signature made by the coin over the deposit permission is not valid. |
348 | HttpStatus: 403 | 588 | HttpStatus: 403 |
349 | 589 | ||
590 | Value: 1206 | ||
591 | Name: EXCHANGE_DEPOSIT_CONFLICTING_CONTRACT | ||
592 | Description: The same coin was already deposited for the same merchant and contract with other details. | ||
593 | HttpStatus: 409 | ||
594 | |||
350 | Value: 1207 | 595 | Value: 1207 |
351 | Name: EXCHANGE_DEPOSIT_NEGATIVE_VALUE_AFTER_FEE | 596 | Name: EXCHANGE_DEPOSIT_NEGATIVE_VALUE_AFTER_FEE |
352 | Description: The stated value of the coin after the deposit fee is subtracted would be negative. | 597 | Description: The stated value of the coin after the deposit fee is subtracted would be negative. |
@@ -357,6 +602,11 @@ Name: EXCHANGE_DEPOSIT_REFUND_DEADLINE_AFTER_WIRE_DEADLINE | |||
357 | Description: The stated refund deadline is after the wire deadline. | 602 | Description: The stated refund deadline is after the wire deadline. |
358 | HttpStatus: 400 | 603 | HttpStatus: 400 |
359 | 604 | ||
605 | Value: 1209 | ||
606 | Name: EXCHANGE_DEPOSIT_WIRE_DEADLINE_IS_NEVER | ||
607 | Description: The stated wire deadline is "never", which makes no sense. | ||
608 | HttpStatus: 400 | ||
609 | |||
360 | Value: 1210 | 610 | Value: 1210 |
361 | Name: EXCHANGE_DEPOSIT_INVALID_WIRE_FORMAT_JSON | 611 | Name: EXCHANGE_DEPOSIT_INVALID_WIRE_FORMAT_JSON |
362 | Description: The exchange failed to canonicalize and hash the given wire format. For example, the merchant failed to provide the "salt" or a valid payto:// URI in the wire details. Note that while the exchange will do some basic sanity checking on the wire details, it cannot warrant that the banking system will ultimately be able to route to the specified address, even if this check passed. | 612 | Description: The exchange failed to canonicalize and hash the given wire format. For example, the merchant failed to provide the "salt" or a valid payto:// URI in the wire details. Note that while the exchange will do some basic sanity checking on the wire details, it cannot warrant that the banking system will ultimately be able to route to the specified address, even if this check passed. |
@@ -378,20 +628,22 @@ Description: The deposited amount is smaller than the deposit fee, which would r | |||
378 | HttpStatus: 400 | 628 | HttpStatus: 400 |
379 | 629 | ||
380 | 630 | ||
381 | Value: 1250 | 631 | Value: 1240 |
382 | Name: EXCHANGE_RESERVES_GET_STATUS_UNKNOWN | 632 | Name: EXCHANGE_EXTENSIONS_INVALID_FULFILLMENT |
383 | Description: The reserve status was requested using a unknown key. | 633 | Description: The proof of policy fulfillment was invalid. |
384 | HttpStatus: 404 | 634 | HttpStatus: 400 |
385 | 635 | ||
386 | Value: 1300 | ||
387 | Name: EXCHANGE_MELT_INSUFFICIENT_FUNDS | ||
388 | Description: The respective coin did not have sufficient residual value for the /refresh/melt operation. The "history" in this response provdes the "residual_value" of the coin, which may be less than its "original_value". | ||
389 | HttpStatus: 409 | ||
390 | 636 | ||
391 | Value: 1301 | 637 | Value: 1251 |
392 | Name: EXCHANGE_MELT_COIN_HISTORY_COMPUTATION_FAILED | 638 | Name: EXCHANGE_COIN_HISTORY_BAD_SIGNATURE |
393 | Description: The exchange had an internal error reconstructing the transaction history of the coin that was being melted. | 639 | Description: The coin history was requested with a bad signature. |
394 | HttpStatus: 500 | 640 | HttpStatus: 403 |
641 | |||
642 | Value: 1252 | ||
643 | Name: EXCHANGE_RESERVE_HISTORY_BAD_SIGNATURE | ||
644 | Description: The reserve history was requested with a bad signature. | ||
645 | HttpStatus: 403 | ||
646 | |||
395 | 647 | ||
396 | Value: 1302 | 648 | Value: 1302 |
397 | Name: EXCHANGE_MELT_FEES_EXCEED_CONTRIBUTION | 649 | Name: EXCHANGE_MELT_FEES_EXCEED_CONTRIBUTION |
@@ -403,11 +655,6 @@ Name: EXCHANGE_MELT_COIN_SIGNATURE_INVALID | |||
403 | Description: The signature made with the coin to be melted is invalid. | 655 | Description: The signature made with the coin to be melted is invalid. |
404 | HttpStatus: 403 | 656 | HttpStatus: 403 |
405 | 657 | ||
406 | Value: 1304 | ||
407 | Name: EXCHANGE_MELT_HISTORY_DB_ERROR_INSUFFICIENT_FUNDS | ||
408 | Description: The exchange failed to obtain the transaction history of the given coin from the database while generating an insufficient funds errors. | ||
409 | HttpStatus: 500 | ||
410 | |||
411 | Value: 1305 | 658 | Value: 1305 |
412 | Name: EXCHANGE_MELT_COIN_EXPIRED_NO_ZOMBIE | 659 | Name: EXCHANGE_MELT_COIN_EXPIRED_NO_ZOMBIE |
413 | Description: The denomination of the given coin has past its expiration date and it is also not a valid zombie (that is, was not refreshed with the fresh coin being subjected to recoup). | 660 | Description: The denomination of the given coin has past its expiration date and it is also not a valid zombie (that is, was not refreshed with the fresh coin being subjected to recoup). |
@@ -439,11 +686,6 @@ Name: EXCHANGE_REFRESHES_REVEAL_CNC_TRANSFER_ARRAY_SIZE_INVALID | |||
439 | Description: The size of the cut-and-choose dimension of the private transfer keys request does not match #TALER_CNC_KAPPA - 1. | 686 | Description: The size of the cut-and-choose dimension of the private transfer keys request does not match #TALER_CNC_KAPPA - 1. |
440 | HttpStatus: 400 | 687 | HttpStatus: 400 |
441 | 688 | ||
442 | Value: 1357 | ||
443 | Name: EXCHANGE_REFRESHES_REVEAL_NEW_DENOMS_ARRAY_SIZE_EXCESSIVE | ||
444 | Description: The number of coins to be created in refresh exceeds the limits of the exchange. private transfer keys request does not match #TALER_CNC_KAPPA - 1. | ||
445 | HttpStatus: 400 | ||
446 | |||
447 | Value: 1358 | 689 | Value: 1358 |
448 | Name: EXCHANGE_REFRESHES_REVEAL_NEW_DENOMS_ARRAY_SIZE_MISMATCH | 690 | Name: EXCHANGE_REFRESHES_REVEAL_NEW_DENOMS_ARRAY_SIZE_MISMATCH |
449 | Description: The number of envelopes given does not match the number of denomination keys given. | 691 | Description: The number of envelopes given does not match the number of denomination keys given. |
@@ -474,6 +716,17 @@ Name: EXCHANGE_REFRESHES_REVEAL_OPERATION_INVALID | |||
474 | Description: Operation specified invalid for this endpoint. | 716 | Description: Operation specified invalid for this endpoint. |
475 | HttpStatus: 400 | 717 | HttpStatus: 400 |
476 | 718 | ||
719 | Value: 1364 | ||
720 | Name: EXCHANGE_REFRESHES_REVEAL_AGE_RESTRICTION_NOT_SUPPORTED | ||
721 | Description: The client provided age commitment data, but age restriction is not supported on this server. | ||
722 | HttpStatus: 400 | ||
723 | |||
724 | Value: 1365 | ||
725 | Name: EXCHANGE_REFRESHES_REVEAL_AGE_RESTRICTION_COMMITMENT_INVALID | ||
726 | Description: The client provided invalid age commitment data: missing, not an array, or array of invalid size. | ||
727 | HttpStatus: 400 | ||
728 | |||
729 | |||
477 | Value: 1400 | 730 | Value: 1400 |
478 | Name: EXCHANGE_LINK_COIN_UNKNOWN | 731 | Name: EXCHANGE_LINK_COIN_UNKNOWN |
479 | Description: The coin specified in the link request is unknown to the exchange. | 732 | Description: The coin specified in the link request is unknown to the exchange. |
@@ -499,6 +752,16 @@ Name: EXCHANGE_TRANSFERS_GET_WIRE_FEE_INCONSISTENT | |||
499 | Description: The exchange found a wire fee that was above the total transfer value (and thus could not have been charged). | 752 | Description: The exchange found a wire fee that was above the total transfer value (and thus could not have been charged). |
500 | HttpStatus: 500 | 753 | HttpStatus: 500 |
501 | 754 | ||
755 | Value: 1475 | ||
756 | Name: EXCHANGE_PURSES_INVALID_WAIT_TARGET | ||
757 | Description: The wait target of the URL was not in the set of expected values. | ||
758 | HttpStatus: 400 | ||
759 | |||
760 | Value: 1476 | ||
761 | Name: EXCHANGE_PURSES_GET_INVALID_SIGNATURE_BY_EXCHANGE | ||
762 | Description: The signature on the purse status returned by the exchange was invalid. | ||
763 | HttpStatus: 0 | ||
764 | |||
502 | 765 | ||
503 | Value: 1500 | 766 | Value: 1500 |
504 | Name: EXCHANGE_REFUND_COIN_NOT_FOUND | 767 | Name: EXCHANGE_REFUND_COIN_NOT_FOUND |
@@ -569,6 +832,7 @@ Value: 1552 | |||
569 | Name: EXCHANGE_RECOUP_COIN_BALANCE_ZERO | 832 | Name: EXCHANGE_RECOUP_COIN_BALANCE_ZERO |
570 | Description: The coin's remaining balance is zero. The request is denied. | 833 | Description: The coin's remaining balance is zero. The request is denied. |
571 | HttpStatus: 403 | 834 | HttpStatus: 403 |
835 | Note: dead in latest cde | ||
572 | 836 | ||
573 | Value: 1553 | 837 | Value: 1553 |
574 | Name: EXCHANGE_RECOUP_BLINDING_FAILED | 838 | Name: EXCHANGE_RECOUP_BLINDING_FAILED |
@@ -579,12 +843,33 @@ Value: 1554 | |||
579 | Name: EXCHANGE_RECOUP_COIN_BALANCE_NEGATIVE | 843 | Name: EXCHANGE_RECOUP_COIN_BALANCE_NEGATIVE |
580 | Description: The coin's remaining balance is zero. The request is denied. | 844 | Description: The coin's remaining balance is zero. The request is denied. |
581 | HttpStatus: 500 | 845 | HttpStatus: 500 |
846 | Note: dead in latest cde | ||
582 | 847 | ||
583 | Value: 1555 | 848 | Value: 1555 |
584 | Name: EXCHANGE_RECOUP_NOT_ELIGIBLE | 849 | Name: EXCHANGE_RECOUP_NOT_ELIGIBLE |
585 | Description: The coin's denomination has not been revoked yet. | 850 | Description: The coin's denomination has not been revoked yet. |
586 | HttpStatus: 404 | 851 | HttpStatus: 404 |
587 | 852 | ||
853 | Value: 1575 | ||
854 | Name: EXCHANGE_RECOUP_REFRESH_SIGNATURE_INVALID | ||
855 | Description: The given coin signature is invalid for the request. | ||
856 | HttpStatus: 403 | ||
857 | |||
858 | Value: 1576 | ||
859 | Name: EXCHANGE_RECOUP_REFRESH_MELT_NOT_FOUND | ||
860 | Description: The exchange could not find the corresponding melt operation. The request is denied. | ||
861 | HttpStatus: 404 | ||
862 | |||
863 | Value: 1578 | ||
864 | Name: EXCHANGE_RECOUP_REFRESH_BLINDING_FAILED | ||
865 | Description: The exchange failed to reproduce the coin's blinding. | ||
866 | HttpStatus: 500 | ||
867 | |||
868 | Value: 1580 | ||
869 | Name: EXCHANGE_RECOUP_REFRESH_NOT_ELIGIBLE | ||
870 | Description: The coin's denomination has not been revoked yet. | ||
871 | HttpStatus: 404 | ||
872 | |||
588 | 873 | ||
589 | Value: 1600 | 874 | Value: 1600 |
590 | Name: EXCHANGE_KEYS_TIMETRAVEL_FORBIDDEN | 875 | Name: EXCHANGE_KEYS_TIMETRAVEL_FORBIDDEN |
@@ -612,10 +897,45 @@ Description: No wire fees are configured for an enabled wire method of the excha | |||
612 | HttpStatus: 500 | 897 | HttpStatus: 500 |
613 | 898 | ||
614 | 899 | ||
900 | Value: 1675 | ||
901 | Name: EXCHANGE_RESERVES_PURSE_CREATE_CONFLICTING_META_DATA | ||
902 | Description: This purse was previously created with different meta data. | ||
903 | HttpStatus: 409 | ||
904 | |||
905 | Value: 1676 | ||
906 | Name: EXCHANGE_RESERVES_PURSE_MERGE_CONFLICTING_META_DATA | ||
907 | Description: This purse was previously merged with different meta data. | ||
908 | HttpStatus: 409 | ||
909 | |||
910 | Value: 1677 | ||
911 | Name: EXCHANGE_RESERVES_PURSE_CREATE_INSUFFICIENT_FUNDS | ||
912 | Description: The reserve has insufficient funds to create another purse. | ||
913 | HttpStatus: 409 | ||
914 | |||
915 | Value: 1678 | ||
916 | Name: EXCHANGE_RESERVES_PURSE_FEE_TOO_LOW | ||
917 | Description: The purse fee specified for the request is lower than the purse fee charged by the exchange at this time. | ||
918 | HttpStatus: 400 | ||
919 | |||
920 | Value: 1679 | ||
921 | Name: EXCHANGE_PURSE_DELETE_ALREADY_DECIDED | ||
922 | Description: The payment request cannot be deleted anymore, as it either already completed or timed out. | ||
923 | HttpStatus: 409 | ||
924 | |||
925 | Value: 1680 | ||
926 | Name: EXCHANGE_PURSE_DELETE_SIGNATURE_INVALID | ||
927 | Description: The signature affirming the purse deletion is invalid. | ||
928 | HttpStatus: 403 | ||
929 | |||
930 | Value: 1681 | ||
931 | Name: EXCHANGE_RESERVES_AGE_RESTRICTION_REQUIRED | ||
932 | Description: Withdrawal from the reserve requires age restriction to be set. | ||
933 | HttpStatus: 403 | ||
934 | |||
615 | Value: 1700 | 935 | Value: 1700 |
616 | Name: EXCHANGE_DENOMINATION_HELPER_UNAVAILABLE | 936 | Name: EXCHANGE_DENOMINATION_HELPER_UNAVAILABLE |
617 | Description: The exchange failed to talk to the process responsible for its private denomination keys. | 937 | Description: The exchange failed to talk to the process responsible for its private denomination keys or the helpers had no denominations (properly) configured. |
618 | HttpStatus: 500 | 938 | HttpStatus: 502 |
619 | 939 | ||
620 | Value: 1701 | 940 | Value: 1701 |
621 | Name: EXCHANGE_DENOMINATION_HELPER_BUG | 941 | Name: EXCHANGE_DENOMINATION_HELPER_BUG |
@@ -627,10 +947,16 @@ Name: EXCHANGE_DENOMINATION_HELPER_TOO_EARLY | |||
627 | Description: The helper refuses to sign with the key, because it is too early: the validity period has not yet started. | 947 | Description: The helper refuses to sign with the key, because it is too early: the validity period has not yet started. |
628 | HttpStatus: 400 | 948 | HttpStatus: 400 |
629 | 949 | ||
950 | Value: 1725 | ||
951 | Name: EXCHANGE_PURSE_DEPOSIT_EXCHANGE_SIGNATURE_INVALID | ||
952 | Description: The signature of the exchange on the reply was invalid. | ||
953 | HttpStatus: 0 | ||
954 | |||
955 | |||
630 | Value: 1750 | 956 | Value: 1750 |
631 | Name: EXCHANGE_SIGNKEY_HELPER_UNAVAILABLE | 957 | Name: EXCHANGE_SIGNKEY_HELPER_UNAVAILABLE |
632 | Description: The exchange failed to talk to the process responsible for its private signing keys. | 958 | Description: The exchange failed to talk to the process responsible for its private signing keys. |
633 | HttpStatus: 500 | 959 | HttpStatus: 502 |
634 | 960 | ||
635 | Value: 1751 | 961 | Value: 1751 |
636 | Name: EXCHANGE_SIGNKEY_HELPER_BUG | 962 | Name: EXCHANGE_SIGNKEY_HELPER_BUG |
@@ -643,6 +969,51 @@ Description: The helper refuses to sign with the key, because it is too early: t | |||
643 | HttpStatus: 400 | 969 | HttpStatus: 400 |
644 | 970 | ||
645 | 971 | ||
972 | Value: 1775 | ||
973 | Name: EXCHANGE_RESERVES_PURSE_EXPIRATION_BEFORE_NOW | ||
974 | Description: The purse expiration time is in the past at the time of its creation. | ||
975 | HttpStatus: 400 | ||
976 | |||
977 | Value: 1776 | ||
978 | Name: EXCHANGE_RESERVES_PURSE_EXPIRATION_IS_NEVER | ||
979 | Description: The purse expiration time is set to never, which is not allowed. | ||
980 | HttpStatus: 400 | ||
981 | |||
982 | Value: 1777 | ||
983 | Name: EXCHANGE_RESERVES_PURSE_MERGE_SIGNATURE_INVALID | ||
984 | Description: The signature affirming the merge of the purse is invalid. | ||
985 | HttpStatus: 403 | ||
986 | |||
987 | Value: 1778 | ||
988 | Name: EXCHANGE_RESERVES_RESERVE_MERGE_SIGNATURE_INVALID | ||
989 | Description: The signature by the reserve affirming the merge is invalid. | ||
990 | HttpStatus: 403 | ||
991 | |||
992 | Value: 1785 | ||
993 | Name: EXCHANGE_RESERVES_OPEN_BAD_SIGNATURE | ||
994 | Description: The signature by the reserve affirming the open operation is invalid. | ||
995 | HttpStatus: 403 | ||
996 | |||
997 | Value: 1786 | ||
998 | Name: EXCHANGE_RESERVES_CLOSE_BAD_SIGNATURE | ||
999 | Description: The signature by the reserve affirming the close operation is invalid. | ||
1000 | HttpStatus: 403 | ||
1001 | |||
1002 | Value: 1787 | ||
1003 | Name: EXCHANGE_RESERVES_ATTEST_BAD_SIGNATURE | ||
1004 | Description: The signature by the reserve affirming the attestion request is invalid. | ||
1005 | HttpStatus: 403 | ||
1006 | |||
1007 | Value: 1788 | ||
1008 | Name: EXCHANGE_RESERVES_CLOSE_NO_TARGET_ACCOUNT | ||
1009 | Description: The exchange does not know an origin account to which the remaining reserve balance could be wired to, and the wallet failed to provide one. | ||
1010 | HttpStatus: 409 | ||
1011 | |||
1012 | Value: 1789 | ||
1013 | Name: EXCHANGE_RESERVES_OPEN_INSUFFICIENT_FUNDS | ||
1014 | Description: The reserve balance is insufficient to pay for the open operation. | ||
1015 | HttpStatus: 409 | ||
1016 | |||
646 | Value: 1800 | 1017 | Value: 1800 |
647 | Name: EXCHANGE_MANAGEMENT_AUDITOR_NOT_FOUND | 1018 | Name: EXCHANGE_MANAGEMENT_AUDITOR_NOT_FOUND |
648 | Description: The auditor that was supposed to be disabled is unknown to this exchange. | 1019 | Description: The auditor that was supposed to be disabled is unknown to this exchange. |
@@ -723,6 +1094,144 @@ Name: EXCHANGE_MANAGEMENT_KEYS_SIGNKEY_ADD_SIGNATURE_INVALID | |||
723 | Description: The signature affirming the signing key is invalid. | 1094 | Description: The signature affirming the signing key is invalid. |
724 | HttpStatus: 403 | 1095 | HttpStatus: 403 |
725 | 1096 | ||
1097 | Value: 1816 | ||
1098 | Name: EXCHANGE_MANAGEMENT_GLOBAL_FEE_MISMATCH | ||
1099 | Description: The signature conflicts with a previous signature affirming different fees. | ||
1100 | HttpStatus: 409 | ||
1101 | |||
1102 | Value: 1817 | ||
1103 | Name: EXCHANGE_MANAGEMENT_GLOBAL_FEE_SIGNATURE_INVALID | ||
1104 | Description: The signature affirming the fee structure is invalid. | ||
1105 | HttpStatus: 403 | ||
1106 | |||
1107 | Value: 1818 | ||
1108 | Name: EXCHANGE_MANAGEMENT_DRAIN_PROFITS_SIGNATURE_INVALID | ||
1109 | Description: The signature affirming the profit drain is invalid. | ||
1110 | HttpStatus: 403 | ||
1111 | |||
1112 | Value: 1825 | ||
1113 | Name: EXCHANGE_AML_DECISION_ADD_SIGNATURE_INVALID | ||
1114 | Description: The signature affirming the AML decision is invalid. | ||
1115 | HttpStatus: 403 | ||
1116 | |||
1117 | Value: 1826 | ||
1118 | Name: EXCHANGE_AML_DECISION_INVALID_OFFICER | ||
1119 | Description: The AML officer specified is not allowed to make AML decisions right now. | ||
1120 | HttpStatus: 403 | ||
1121 | |||
1122 | Value: 1827 | ||
1123 | Name: EXCHANGE_AML_DECISION_MORE_RECENT_PRESENT | ||
1124 | Description: There is a more recent AML decision on file. The decision was rejected as timestamps of AML decisions must be monotonically increasing. | ||
1125 | HttpStatus: 409 | ||
1126 | |||
1127 | Value: 1828 | ||
1128 | Name: EXCHANGE_AML_DECISION_UNKNOWN_CHECK | ||
1129 | Description: There AML decision would impose an AML check of a type that is not provided by any KYC provider known to the exchange. | ||
1130 | HttpStatus: 400 | ||
1131 | |||
1132 | Value: 1830 | ||
1133 | Name: EXCHANGE_MANAGEMENT_UPDATE_AML_OFFICER_SIGNATURE_INVALID | ||
1134 | Description: The signature affirming the change in the AML officer status is invalid. | ||
1135 | HttpStatus: 403 | ||
1136 | |||
1137 | Value: 1831 | ||
1138 | Name: EXCHANGE_MANAGEMENT_AML_OFFICERS_MORE_RECENT_PRESENT | ||
1139 | Description: A more recent decision about the AML officer status is known to the exchange. | ||
1140 | HttpStatus: 409 | ||
1141 | |||
1142 | |||
1143 | |||
1144 | |||
1145 | Value: 1850 | ||
1146 | Name: EXCHANGE_PURSE_CREATE_CONFLICTING_META_DATA | ||
1147 | Description: The purse was previously created with different meta data. | ||
1148 | HttpStatus: 409 | ||
1149 | |||
1150 | Value: 1851 | ||
1151 | Name: EXCHANGE_PURSE_CREATE_CONFLICTING_CONTRACT_STORED | ||
1152 | Description: The purse was previously created with a different contract. | ||
1153 | HttpStatus: 409 | ||
1154 | |||
1155 | Value: 1852 | ||
1156 | Name: EXCHANGE_PURSE_CREATE_COIN_SIGNATURE_INVALID | ||
1157 | Description: A coin signature for a deposit into the purse is invalid. | ||
1158 | HttpStatus: 403 | ||
1159 | |||
1160 | Value: 1853 | ||
1161 | Name: EXCHANGE_PURSE_CREATE_EXPIRATION_BEFORE_NOW | ||
1162 | Description: The purse expiration time is in the past. | ||
1163 | HttpStatus: 400 | ||
1164 | |||
1165 | Value: 1854 | ||
1166 | Name: EXCHANGE_PURSE_CREATE_EXPIRATION_IS_NEVER | ||
1167 | Description: The purse expiration time is "never". | ||
1168 | HttpStatus: 400 | ||
1169 | |||
1170 | Value: 1855 | ||
1171 | Name: EXCHANGE_PURSE_CREATE_SIGNATURE_INVALID | ||
1172 | Description: The purse signature over the purse meta data is invalid. | ||
1173 | HttpStatus: 403 | ||
1174 | |||
1175 | Value: 1856 | ||
1176 | Name: EXCHANGE_PURSE_ECONTRACT_SIGNATURE_INVALID | ||
1177 | Description: The signature over the encrypted contract is invalid. | ||
1178 | HttpStatus: 403 | ||
1179 | |||
1180 | Value: 1857 | ||
1181 | Name: EXCHANGE_PURSE_CREATE_EXCHANGE_SIGNATURE_INVALID | ||
1182 | Description: The signature from the exchange over the confirmation is invalid. | ||
1183 | HttpStatus: 0 | ||
1184 | |||
1185 | Value: 1858 | ||
1186 | Name: EXCHANGE_PURSE_DEPOSIT_CONFLICTING_META_DATA | ||
1187 | Description: The coin was previously deposited with different meta data. | ||
1188 | HttpStatus: 409 | ||
1189 | |||
1190 | Value: 1859 | ||
1191 | Name: EXCHANGE_PURSE_ECONTRACT_CONFLICTING_META_DATA | ||
1192 | Description: The encrypted contract was previously uploaded with different meta data. | ||
1193 | HttpStatus: 409 | ||
1194 | |||
1195 | Value: 1860 | ||
1196 | Name: EXCHANGE_CREATE_PURSE_NEGATIVE_VALUE_AFTER_FEE | ||
1197 | Description: The deposited amount is less than the purse fee. | ||
1198 | HttpStatus: 400 | ||
1199 | |||
1200 | Value: 1876 | ||
1201 | Name: EXCHANGE_PURSE_MERGE_INVALID_MERGE_SIGNATURE | ||
1202 | Description: The signature using the merge key is invalid. | ||
1203 | HttpStatus: 403 | ||
1204 | |||
1205 | Value: 1877 | ||
1206 | Name: EXCHANGE_PURSE_MERGE_INVALID_RESERVE_SIGNATURE | ||
1207 | Description: The signature using the reserve key is invalid. | ||
1208 | HttpStatus: 403 | ||
1209 | |||
1210 | Value: 1878 | ||
1211 | Name: EXCHANGE_PURSE_NOT_FULL | ||
1212 | Description: The targeted purse is not yet full and thus cannot be merged. Retrying the request later may succeed. | ||
1213 | HttpStatus: 409 | ||
1214 | |||
1215 | Value: 1879 | ||
1216 | Name: EXCHANGE_PURSE_MERGE_EXCHANGE_SIGNATURE_INVALID | ||
1217 | Description: The signature from the exchange over the confirmation is invalid. | ||
1218 | HttpStatus: 0 | ||
1219 | |||
1220 | Value: 1880 | ||
1221 | Name: EXCHANGE_MERGE_PURSE_PARTNER_UNKNOWN | ||
1222 | Description: The exchange of the target account is not a partner of this exchange. | ||
1223 | HttpStatus: 404 | ||
1224 | |||
1225 | Value: 1890 | ||
1226 | Name: EXCHANGE_MANAGEMENT_ADD_PARTNER_SIGNATURE_INVALID | ||
1227 | Description: The signature affirming the new partner is invalid. | ||
1228 | HttpStatus: 403 | ||
1229 | |||
1230 | Value: 1891 | ||
1231 | Name: EXCHANGE_MANAGEMENT_ADD_PARTNER_DATA_CONFLICT | ||
1232 | Description: Conflicting data for the partner already exists with the exchange. | ||
1233 | HttpStatus: 409 | ||
1234 | |||
726 | 1235 | ||
727 | Value: 1900 | 1236 | Value: 1900 |
728 | Name: EXCHANGE_AUDITORS_AUDITOR_SIGNATURE_INVALID | 1237 | Name: EXCHANGE_AUDITORS_AUDITOR_SIGNATURE_INVALID |
@@ -759,6 +1268,100 @@ Name: EXCHANGE_KYC_PROOF_BACKEND_AUTHORIZATION_FAILED | |||
759 | Description: The backend signaled an authorization failure. | 1268 | Description: The backend signaled an authorization failure. |
760 | HttpStatus: 403 | 1269 | HttpStatus: 403 |
761 | 1270 | ||
1271 | Value: 1929 | ||
1272 | Name: EXCHANGE_KYC_PROOF_REQUEST_UNKNOWN | ||
1273 | Description: The exchange is unaware of having made an the authorization request. | ||
1274 | HttpStatus: 404 | ||
1275 | |||
1276 | Value: 1930 | ||
1277 | Name: EXCHANGE_KYC_CHECK_AUTHORIZATION_FAILED | ||
1278 | Description: The payto-URI hash did not match. Hence the request was denied. | ||
1279 | HttpStatus: 403 | ||
1280 | |||
1281 | Value: 1931 | ||
1282 | Name: EXCHANGE_KYC_GENERIC_LOGIC_UNKNOWN | ||
1283 | Description: The request used a logic specifier that is not known to the exchange. | ||
1284 | HttpStatus: 404 | ||
1285 | |||
1286 | Value: 1932 | ||
1287 | Name: EXCHANGE_KYC_GENERIC_LOGIC_GONE | ||
1288 | Description: The request requires a logic which is no longer configured at the exchange. | ||
1289 | HttpStatus: 500 | ||
1290 | |||
1291 | Value: 1933 | ||
1292 | Name: EXCHANGE_KYC_GENERIC_LOGIC_BUG | ||
1293 | Description: The logic plugin had a bug in its interaction with the KYC provider. | ||
1294 | HttpStatus: 500 | ||
1295 | |||
1296 | Value: 1934 | ||
1297 | Name: EXCHANGE_KYC_GENERIC_PROVIDER_ACCESS_REFUSED | ||
1298 | Description: The exchange could not process the request with its KYC provider because the provider refused access to the service. This indicates some configuration issue at the Taler exchange operator. | ||
1299 | HttpStatus: 511 | ||
1300 | |||
1301 | Value: 1935 | ||
1302 | Name: EXCHANGE_KYC_GENERIC_PROVIDER_TIMEOUT | ||
1303 | Description: There was a timeout in the interaction between the exchange and the KYC provider. The most likely cause is some networking problem. Trying again later might succeed. | ||
1304 | HttpStatus: 504 | ||
1305 | |||
1306 | Value: 1936 | ||
1307 | Name: EXCHANGE_KYC_GENERIC_PROVIDER_UNEXPECTED_REPLY | ||
1308 | Description: The KYC provider responded with a status that was completely unexpected by the KYC logic of the exchange. | ||
1309 | HttpStatus: 502 | ||
1310 | |||
1311 | Value: 1937 | ||
1312 | Name: EXCHANGE_KYC_GENERIC_PROVIDER_RATE_LIMIT_EXCEEDED | ||
1313 | Description: The rate limit of the exchange at the KYC provider has been exceeded. Trying much later might work. | ||
1314 | HttpStatus: 503 | ||
1315 | |||
1316 | Value: 1938 | ||
1317 | Name: EXCHANGE_KYC_WEBHOOK_UNAUTHORIZED | ||
1318 | Description: The request to the webhook lacked proper authorization or authentication data. | ||
1319 | HttpStatus: 401 | ||
1320 | |||
1321 | |||
1322 | |||
1323 | Value: 1950 | ||
1324 | Name: EXCHANGE_CONTRACTS_UNKNOWN | ||
1325 | Description: The exchange does not know a contract under the given contract public key. | ||
1326 | HttpStatus: 404 | ||
1327 | |||
1328 | Value: 1951 | ||
1329 | Name: EXCHANGE_CONTRACTS_INVALID_CONTRACT_PUB | ||
1330 | Description: The URL does not encode a valid exchange public key in its path. | ||
1331 | HttpStatus: 400 | ||
1332 | |||
1333 | Value: 1952 | ||
1334 | Name: EXCHANGE_CONTRACTS_DECRYPTION_FAILED | ||
1335 | Description: The returned encrypted contract did not decrypt. | ||
1336 | HttpStatus: 0 | ||
1337 | |||
1338 | Value: 1953 | ||
1339 | Name: EXCHANGE_CONTRACTS_SIGNATURE_INVALID | ||
1340 | Description: The signature on the encrypted contract did not validate. | ||
1341 | HttpStatus: 0 | ||
1342 | |||
1343 | Value: 1954 | ||
1344 | Name: EXCHANGE_CONTRACTS_DECODING_FAILED | ||
1345 | Description: The decrypted contract was malformed. | ||
1346 | HttpStatus: 0 | ||
1347 | |||
1348 | Value: 1975 | ||
1349 | Name: EXCHANGE_PURSE_DEPOSIT_COIN_SIGNATURE_INVALID | ||
1350 | Description: A coin signature for a deposit into the purse is invalid. | ||
1351 | HttpStatus: 403 | ||
1352 | |||
1353 | Value: 1976 | ||
1354 | Name: EXCHANGE_PURSE_DEPOSIT_DECIDED_ALREADY | ||
1355 | Description: It is too late to deposit coins into the purse. | ||
1356 | HttpStatus: 410 | ||
1357 | |||
1358 | |||
1359 | |||
1360 | Value: 1980 | ||
1361 | Name: EXCHANGE_TOTP_KEY_INVALID | ||
1362 | Description: TOTP key is not valid. | ||
1363 | HttpStatus: 0 | ||
1364 | |||
762 | 1365 | ||
763 | 1366 | ||
764 | 1367 | ||
@@ -776,19 +1379,9 @@ Description: The start and end-times in the wire fee structure leave a hole. Thi | |||
776 | HttpStatus: 0 | 1379 | HttpStatus: 0 |
777 | 1380 | ||
778 | Value: 2002 | 1381 | Value: 2002 |
779 | Name: MERCHANT_GENERIC_RESERVE_PUB_MALFORMED | 1382 | Name: MERCHANT_GENERIC_EXCHANGE_WIRE_REQUEST_FAILED |
780 | Description: The reserve key of given to a /reserves/ handler was malformed. | 1383 | Description: The merchant was unable to obtain a valid answer to /wire from the exchange. |
781 | HttpStatus: 400 | 1384 | HttpStatus: 502 |
782 | |||
783 | Value: 2003 | ||
784 | Name: MERCHANT_GENERIC_FAILED_TO_LOAD_TEMPLATE | ||
785 | Description: The backend could not locate a required template to generate an HTML reply. | ||
786 | HttpStatus: 406 | ||
787 | |||
788 | Value: 2004 | ||
789 | Name: MERCHANT_GENERIC_FAILED_TO_EXPAND_TEMPLATE | ||
790 | Description: The backend could not expand the template to generate an HTML reply. | ||
791 | HttpStatus: 500 | ||
792 | 1385 | ||
793 | Value: 2005 | 1386 | Value: 2005 |
794 | Name: MERCHANT_GENERIC_ORDER_UNKNOWN | 1387 | Name: MERCHANT_GENERIC_ORDER_UNKNOWN |
@@ -801,8 +1394,8 @@ Description: The order provided to the backend could not be completed, because a | |||
801 | HttpStatus: 404 | 1394 | HttpStatus: 404 |
802 | 1395 | ||
803 | Value: 2007 | 1396 | Value: 2007 |
804 | Name: MERCHANT_GENERIC_TIP_ID_UNKNOWN | 1397 | Name: MERCHANT_GENERIC_REWARD_ID_UNKNOWN |
805 | Description: The tip ID is unknown. This could happen if the tip has expired. | 1398 | Description: The reward ID is unknown. This could happen if the reward has expired. |
806 | HttpStatus: 404 | 1399 | HttpStatus: 404 |
807 | 1400 | ||
808 | Value: 2008 | 1401 | Value: 2008 |
@@ -855,6 +1448,40 @@ Name: MERCHANT_GENERIC_TRANSFER_UNKNOWN | |||
855 | Description: The backend could not find the inbound wire transfer specified in the request. | 1448 | Description: The backend could not find the inbound wire transfer specified in the request. |
856 | HttpStatus: 404 | 1449 | HttpStatus: 404 |
857 | 1450 | ||
1451 | Value: 2018 | ||
1452 | Name: MERCHANT_GENERIC_TEMPLATE_UNKNOWN | ||
1453 | Description: The backend could not find the template(id) because it is not exist. | ||
1454 | HttpStatus: 404 | ||
1455 | |||
1456 | Value: 2019 | ||
1457 | Name: MERCHANT_GENERIC_WEBHOOK_UNKNOWN | ||
1458 | Description: The backend could not find the webhook(id) because it is not exist. | ||
1459 | HttpStatus: 404 | ||
1460 | |||
1461 | Value: 2020 | ||
1462 | Name: MERCHANT_GENERIC_PENDING_WEBHOOK_UNKNOWN | ||
1463 | Description: The backend could not find the webhook(serial) because it is not exist. | ||
1464 | HttpStatus: 404 | ||
1465 | |||
1466 | Value: 2021 | ||
1467 | Name: MERCHANT_GENERIC_OTP_DEVICE_UNKNOWN | ||
1468 | Description: The backend could not find the OTP device(id) because it is not exist. | ||
1469 | HttpStatus: 404 | ||
1470 | |||
1471 | Value: 2022 | ||
1472 | Name: MERCHANT_GENERIC_ACCOUNT_UNKNOWN | ||
1473 | Description: The account is not known to the backend. | ||
1474 | HttpStatus: 404 | ||
1475 | |||
1476 | Value: 2023 | ||
1477 | Name: MERCHANT_GENERIC_H_WIRE_MALFORMED | ||
1478 | Description: The wire hash was malformed. | ||
1479 | HttpStatus: 400 | ||
1480 | |||
1481 | Value: 2024 | ||
1482 | Name: MERCHANT_GENERIC_CURRENCY_MISMATCH | ||
1483 | Description: The currency specified in the operation does not work with the current state of the given resource. | ||
1484 | HttpStatus: 409 | ||
858 | 1485 | ||
859 | # 2100-2499: public API | 1486 | # 2100-2499: public API |
860 | # 2100-2149: get orders endpoint | 1487 | # 2100-2149: get orders endpoint |
@@ -864,7 +1491,6 @@ Name: MERCHANT_GET_ORDERS_EXCHANGE_TRACKING_FAILURE | |||
864 | Description: The exchange failed to provide a valid answer to the tracking request, thus those details are not in the response. | 1491 | Description: The exchange failed to provide a valid answer to the tracking request, thus those details are not in the response. |
865 | HttpStatus: 200 | 1492 | HttpStatus: 200 |
866 | 1493 | ||
867 | |||
868 | Value: 2103 | 1494 | Value: 2103 |
869 | Name: MERCHANT_GET_ORDERS_ID_EXCHANGE_REQUEST_FAILURE | 1495 | Name: MERCHANT_GET_ORDERS_ID_EXCHANGE_REQUEST_FAILURE |
870 | Description: The merchant backend failed to construct the request for tracking to the exchange, thus tracking details are not in the response. | 1496 | Description: The merchant backend failed to construct the request for tracking to the exchange, thus tracking details are not in the response. |
@@ -915,12 +1541,12 @@ HttpStatus: 400 | |||
915 | Value: 2155 | 1541 | Value: 2155 |
916 | Name: MERCHANT_POST_ORDERS_ID_PAY_INSUFFICIENT_DUE_TO_FEES | 1542 | Name: MERCHANT_POST_ORDERS_ID_PAY_INSUFFICIENT_DUE_TO_FEES |
917 | Description: After considering deposit and wire fees, the payment is insufficient to satisfy the required amount for the contract. The client should revisit the logic used to calculate fees it must cover. | 1543 | Description: After considering deposit and wire fees, the payment is insufficient to satisfy the required amount for the contract. The client should revisit the logic used to calculate fees it must cover. |
918 | HttpStatus: 406 | 1544 | HttpStatus: 400 |
919 | 1545 | ||
920 | Value: 2156 | 1546 | Value: 2156 |
921 | Name: MERCHANT_POST_ORDERS_ID_PAY_PAYMENT_INSUFFICIENT | 1547 | Name: MERCHANT_POST_ORDERS_ID_PAY_PAYMENT_INSUFFICIENT |
922 | Description: Even if we do not consider deposit and wire fees, the payment is insufficient to satisfy the required amount for the contract. | 1548 | Description: Even if we do not consider deposit and wire fees, the payment is insufficient to satisfy the required amount for the contract. |
923 | HttpStatus: 406 | 1549 | HttpStatus: 400 |
924 | 1550 | ||
925 | Value: 2157 | 1551 | Value: 2157 |
926 | Name: MERCHANT_POST_ORDERS_ID_PAY_COIN_SIGNATURE_INVALID | 1552 | Name: MERCHANT_POST_ORDERS_ID_PAY_COIN_SIGNATURE_INVALID |
@@ -937,6 +1563,11 @@ Name: MERCHANT_POST_ORDERS_ID_PAY_REFUND_DEADLINE_PAST_WIRE_TRANSFER_DEADLINE | |||
937 | Description: The refund deadline in the contract is after the transfer deadline. | 1563 | Description: The refund deadline in the contract is after the transfer deadline. |
938 | HttpStatus: 500 | 1564 | HttpStatus: 500 |
939 | 1565 | ||
1566 | Value: 2160 | ||
1567 | Name: MERCHANT_POST_ORDERS_ID_PAY_ALREADY_PAID | ||
1568 | Description: The order was already paid (maybe by another wallet). | ||
1569 | HttpStatus: 409 | ||
1570 | |||
940 | Value: 2161 | 1571 | Value: 2161 |
941 | Name: MERCHANT_POST_ORDERS_ID_PAY_OFFER_EXPIRED | 1572 | Name: MERCHANT_POST_ORDERS_ID_PAY_OFFER_EXPIRED |
942 | Description: The payment is too late, the offer has expired. | 1573 | Description: The payment is too late, the offer has expired. |
@@ -982,7 +1613,63 @@ Name: MERCHANT_POST_ORDERS_ID_PAY_EXCHANGE_FAILED | |||
982 | Description: The payment failed at the exchange. | 1613 | Description: The payment failed at the exchange. |
983 | HttpStatus: 502 | 1614 | HttpStatus: 502 |
984 | 1615 | ||
985 | # 2200-2249: post orders ID paid endpoint | 1616 | Value: 2171 |
1617 | Name: MERCHANT_POST_ORDERS_ID_PAY_AGE_COMMITMENT_MISSING | ||
1618 | Description: The payment required a minimum age but one of the coins (of a denomination with support for age restriction) did not provide any age_commitment. | ||
1619 | HttpStatus: 400 | ||
1620 | |||
1621 | Value: 2172 | ||
1622 | Name: MERCHANT_POST_ORDERS_ID_PAY_AGE_COMMITMENT_SIZE_MISMATCH | ||
1623 | Description: The payment required a minimum age but one of the coins provided an age_commitment that contained a wrong number of public keys compared to the number of age groups defined in the denomination of the coin. | ||
1624 | HttpStatus: 400 | ||
1625 | |||
1626 | Value: 2173 | ||
1627 | Name: MERCHANT_POST_ORDERS_ID_PAY_AGE_VERIFICATION_FAILED | ||
1628 | Description: The payment required a minimum age but one of the coins provided a minimum_age_sig that couldn't be verified with the given age_commitment for that particular minimum age. | ||
1629 | HttpStatus: 400 | ||
1630 | |||
1631 | Value: 2174 | ||
1632 | Name: MERCHANT_POST_ORDERS_ID_PAY_AGE_COMMITMENT_HASH_MISSING | ||
1633 | Description: The payment required no minimum age but one of the coins (of a denomination with support for age restriction) did not provide the required h_age_commitment. | ||
1634 | HttpStatus: 400 | ||
1635 | |||
1636 | Value: 2175 | ||
1637 | Name: MERCHANT_POST_ORDERS_ID_PAY_WIRE_METHOD_UNSUPPORTED | ||
1638 | Description: The exchange does not support the selected bank account of the merchant. Likely the merchant had stale data on the bank accounts of the exchange and thus selected an inappropriate exchange when making the offer. | ||
1639 | HttpStatus: 409 | ||
1640 | |||
1641 | Value: 2176 | ||
1642 | Name: MERCHANT_POST_ORDERS_ID_PAY_CHOICE_INDEX_MISSING | ||
1643 | Description: The payment requires the wallet to select a choice from the choices array and pass it in the 'choice_index' field of the request. | ||
1644 | HttpStatus: 400 | ||
1645 | |||
1646 | Value: 2177 | ||
1647 | Name: MERCHANT_POST_ORDERS_ID_PAY_CHOICE_INDEX_OUT_OF_BOUNDS | ||
1648 | Description: The 'choice_index' field is invalid. | ||
1649 | HttpStatus: 400 | ||
1650 | |||
1651 | Value: 2178 | ||
1652 | Name: MERCHANT_POST_ORDERS_ID_PAY_INPUT_TOKENS_MISMATCH | ||
1653 | Description: The provided 'tokens' array does not match with the required input tokens of the order. | ||
1654 | HttpStatus: 400 | ||
1655 | |||
1656 | Value: 2179 | ||
1657 | Name: MERCHANT_POST_ORDERS_ID_PAY_TOKEN_ISSUE_SIG_INVALID | ||
1658 | Description: Invalid token issue signature (blindly signed by merchant) for provided token. | ||
1659 | HttpStatus: 400 | ||
1660 | |||
1661 | Value: 2180 | ||
1662 | Name: MERCHANT_POST_ORDERS_ID_PAY_TOKEN_USE_SIG_INVALID | ||
1663 | Description: Invalid token use signature (EdDSA, signed by wallet) for provided token. | ||
1664 | HttpStatus: 400 | ||
1665 | |||
1666 | Value: 2181 | ||
1667 | Name: MERCHANT_POST_ORDERS_ID_PAY_TOKEN_COUNT_MISMATCH | ||
1668 | Description: The provided number of tokens does not match the required number. | ||
1669 | HttpStatus: 400 | ||
1670 | |||
1671 | |||
1672 | # 2200-2224: post orders ID paid endpoint | ||
986 | 1673 | ||
987 | Value: 2200 | 1674 | Value: 2200 |
988 | Name: MERCHANT_POST_ORDERS_ID_PAID_CONTRACT_HASH_MISMATCH | 1675 | Name: MERCHANT_POST_ORDERS_ID_PAID_CONTRACT_HASH_MISMATCH |
@@ -994,8 +1681,20 @@ Name: MERCHANT_POST_ORDERS_ID_PAID_COIN_SIGNATURE_INVALID | |||
994 | Description: The signature of the merchant is not valid for the given contract hash. | 1681 | Description: The signature of the merchant is not valid for the given contract hash. |
995 | HttpStatus: 403 | 1682 | HttpStatus: 403 |
996 | 1683 | ||
997 | # 2250-2299: post orders ID abort endpoint | 1684 | # 2225-2249: token families endpoints |
1685 | |||
1686 | Value: 2225 | ||
1687 | Name: MERCHANT_POST_TOKEN_FAMILY_CONFLICT | ||
1688 | Description: A token family with this ID but conflicting data exists. | ||
1689 | HttpStatus: 409 | ||
1690 | |||
1691 | Value: 2226 | ||
1692 | Name: MERCHANT_PATCH_TOKEN_FAMILY_NOT_FOUND | ||
1693 | Description: The backend is unaware of a token family with the given ID. | ||
1694 | HttpStatus: 404 | ||
1695 | |||
998 | 1696 | ||
1697 | # 2250-2256: post orders ID abort endpoint | ||
999 | 1698 | ||
1000 | Value: 2251 | 1699 | Value: 2251 |
1001 | Name: MERCHANT_POST_ORDERS_ID_ABORT_EXCHANGE_REFUND_FAILED | 1700 | Name: MERCHANT_POST_ORDERS_ID_ABORT_EXCHANGE_REFUND_FAILED |
@@ -1027,6 +1726,44 @@ Name: MERCHANT_POST_ORDERS_ID_ABORT_COINS_ARRAY_EMPTY | |||
1027 | Description: The array of coins cannot be empty. | 1726 | Description: The array of coins cannot be empty. |
1028 | HttpStatus: 400 | 1727 | HttpStatus: 400 |
1029 | 1728 | ||
1729 | Value: 2258 | ||
1730 | Name: MERCHANT_EXCHANGE_TRANSFERS_AWAITING_KEYS | ||
1731 | Description: We are waiting for the exchange to provide us with key material before checking the wire transfer. | ||
1732 | HttpStatus: 202 | ||
1733 | |||
1734 | Value: 2259 | ||
1735 | Name: MERCHANT_EXCHANGE_TRANSFERS_AWAITING_LIST | ||
1736 | Description: We are waiting for the exchange to provide us with the list of aggregated transactions. | ||
1737 | HttpStatus: 202 | ||
1738 | |||
1739 | |||
1740 | Value: 2260 | ||
1741 | Name: MERCHANT_EXCHANGE_TRANSFERS_FATAL_NO_EXCHANGE | ||
1742 | Description: The endpoint indicated in the wire transfer does not belong to a GNU Taler exchange. | ||
1743 | HttpStatus: 200 | ||
1744 | |||
1745 | Value: 2261 | ||
1746 | Name: MERCHANT_EXCHANGE_TRANSFERS_FATAL_NOT_FOUND | ||
1747 | Description: The exchange indicated in the wire transfer claims to know nothing about the wire transfer. | ||
1748 | HttpStatus: 0 | ||
1749 | |||
1750 | Value: 2262 | ||
1751 | Name: MERCHANT_EXCHANGE_TRANSFERS_RATE_LIMITED | ||
1752 | Description: The interaction with the exchange is delayed due to rate limiting. | ||
1753 | HttpStatus: 202 | ||
1754 | |||
1755 | Value: 2263 | ||
1756 | Name: MERCHANT_EXCHANGE_TRANSFERS_TRANSIENT_FAILURE | ||
1757 | Description: We experienced a transient failure in our interaction with the exchange. | ||
1758 | HttpStatus: 202 | ||
1759 | |||
1760 | Value: 2264 | ||
1761 | Name: MERCHANT_EXCHANGE_TRANSFERS_HARD_FAILURE | ||
1762 | Description: The response from the exchange was unacceptable and should be reviewed with an auditor. | ||
1763 | HttpStatus: 200 | ||
1764 | |||
1765 | |||
1766 | |||
1030 | # 2300-2349: post orders ID claim endpoint | 1767 | # 2300-2349: post orders ID claim endpoint |
1031 | 1768 | ||
1032 | Value: 2300 | 1769 | Value: 2300 |
@@ -1051,38 +1788,38 @@ Name: MERCHANT_POST_ORDERS_ID_REFUND_SIGNATURE_FAILED | |||
1051 | Description: The backend failed to sign the refund request. | 1788 | Description: The backend failed to sign the refund request. |
1052 | HttpStatus: 0 | 1789 | HttpStatus: 0 |
1053 | 1790 | ||
1054 | # 2400-2449: tip pickup endpoint | 1791 | # 2400-2449: reward pickup endpoint |
1055 | 1792 | ||
1056 | Value: 2400 | 1793 | Value: 2400 |
1057 | Name: MERCHANT_TIP_PICKUP_UNBLIND_FAILURE | 1794 | Name: MERCHANT_REWARD_PICKUP_UNBLIND_FAILURE |
1058 | Description: The client failed to unblind the signature returned by the merchant. | 1795 | Description: The client failed to unblind the signature returned by the merchant. |
1059 | HttpStatus: 0 | 1796 | HttpStatus: 0 |
1060 | 1797 | ||
1061 | 1798 | ||
1062 | 1799 | ||
1063 | Value: 2403 | 1800 | Value: 2403 |
1064 | Name: MERCHANT_TIP_PICKUP_EXCHANGE_ERROR | 1801 | Name: MERCHANT_REWARD_PICKUP_EXCHANGE_ERROR |
1065 | Description: The exchange returned a failure code for the withdraw operation. | 1802 | Description: The exchange returned a failure code for the withdraw operation. |
1066 | HttpStatus: 502 | 1803 | HttpStatus: 502 |
1067 | 1804 | ||
1068 | 1805 | ||
1069 | Value: 2404 | 1806 | Value: 2404 |
1070 | Name: MERCHANT_TIP_PICKUP_SUMMATION_FAILED | 1807 | Name: MERCHANT_REWARD_PICKUP_SUMMATION_FAILED |
1071 | Description: The merchant failed to add up the amounts to compute the pick up value. | 1808 | Description: The merchant failed to add up the amounts to compute the pick up value. |
1072 | HttpStatus: 500 | 1809 | HttpStatus: 500 |
1073 | 1810 | ||
1074 | Value: 2405 | 1811 | Value: 2405 |
1075 | Name: MERCHANT_TIP_PICKUP_HAS_EXPIRED | 1812 | Name: MERCHANT_REWARD_PICKUP_HAS_EXPIRED |
1076 | Description: The tip expired. | 1813 | Description: The reward expired. |
1077 | HttpStatus: 410 | 1814 | HttpStatus: 410 |
1078 | 1815 | ||
1079 | Value: 2406 | 1816 | Value: 2406 |
1080 | Name: MERCHANT_TIP_PICKUP_AMOUNT_EXCEEDS_TIP_REMAINING | 1817 | Name: MERCHANT_REWARD_PICKUP_AMOUNT_EXCEEDS_REWARD_REMAINING |
1081 | Description: The requested withdraw amount exceeds the amount remaining to be picked up. | 1818 | Description: The requested withdraw amount exceeds the amount remaining to be picked up. |
1082 | HttpStatus: 400 | 1819 | HttpStatus: 400 |
1083 | 1820 | ||
1084 | Value: 2407 | 1821 | Value: 2407 |
1085 | Name: MERCHANT_TIP_PICKUP_DENOMINATION_UNKNOWN | 1822 | Name: MERCHANT_REWARD_PICKUP_DENOMINATION_UNKNOWN |
1086 | Description: The merchant did not find the specified denomination key in the exchange's key set. | 1823 | Description: The merchant did not find the specified denomination key in the exchange's key set. |
1087 | HttpStatus: 409 | 1824 | HttpStatus: 409 |
1088 | 1825 | ||
@@ -1093,34 +1830,53 @@ HttpStatus: 409 | |||
1093 | 1830 | ||
1094 | Value: 2500 | 1831 | Value: 2500 |
1095 | Name: MERCHANT_PRIVATE_POST_ORDERS_INSTANCE_CONFIGURATION_LACKS_WIRE | 1832 | Name: MERCHANT_PRIVATE_POST_ORDERS_INSTANCE_CONFIGURATION_LACKS_WIRE |
1096 | Description: The backend lacks a wire transfer method configuration option for the given instance. Thus, this instance is unavailable (not findable for creating new orders). | 1833 | Description: The merchant instance has no active bank accounts configured. However, at least one bank account must be available to create new orders. |
1097 | HttpStatus: 404 | 1834 | HttpStatus: 404 |
1098 | 1835 | ||
1099 | Value: 2501 | 1836 | Value: 2501 |
1100 | Name: MERCHANT_PRIVATE_POST_ORDERS_NO_LOCALTIME | 1837 | Name: MERCHANT_PRIVATE_POST_ORDERS_NO_LOCALTIME |
1101 | Description: The proposal had no timestamp and the backend failed to obtain the local time. Likely to be an internal error. | 1838 | Description: The proposal had no timestamp and the merchant backend failed to obtain the current local time. |
1102 | HttpStatus: 500 | 1839 | HttpStatus: 500 |
1103 | 1840 | ||
1104 | Value: 2502 | 1841 | Value: 2502 |
1105 | Name: MERCHANT_PRIVATE_POST_ORDERS_PROPOSAL_PARSE_ERROR | 1842 | Name: MERCHANT_PRIVATE_POST_ORDERS_PROPOSAL_PARSE_ERROR |
1106 | Description: The order provided to the backend could not be parsed, some required fields were missing or ill-formed. | 1843 | Description: The order provided to the backend could not be parsed; likely some required fields were missing or ill-formed. |
1107 | HttpStatus: 400 | 1844 | HttpStatus: 400 |
1108 | 1845 | ||
1109 | Value: 2503 | 1846 | Value: 2503 |
1110 | Name: MERCHANT_PRIVATE_POST_ORDERS_ALREADY_EXISTS | 1847 | Name: MERCHANT_PRIVATE_POST_ORDERS_ALREADY_EXISTS |
1111 | Description: The backend encountered an error: the proposal already exists. | 1848 | Description: A conflicting order (sharing the same order identifier) already exists at this merchant backend instance. |
1112 | HttpStatus: 409 | 1849 | HttpStatus: 409 |
1113 | 1850 | ||
1114 | Value: 2504 | 1851 | Value: 2504 |
1115 | Name: MERCHANT_PRIVATE_POST_ORDERS_REFUND_AFTER_WIRE_DEADLINE | 1852 | Name: MERCHANT_PRIVATE_POST_ORDERS_REFUND_AFTER_WIRE_DEADLINE |
1116 | Description: The request is invalid: the wire deadline is before the refund deadline. | 1853 | Description: The order creation request is invalid because the given wire deadline is before the refund deadline. |
1117 | HttpStatus: 400 | 1854 | HttpStatus: 400 |
1118 | 1855 | ||
1119 | Value: 2505 | 1856 | Value: 2505 |
1120 | Name: MERCHANT_PRIVATE_POST_ORDERS_DELIVERY_DATE_IN_PAST | 1857 | Name: MERCHANT_PRIVATE_POST_ORDERS_DELIVERY_DATE_IN_PAST |
1121 | Description: The request is invalid: a delivery date was given, but it is in the past. | 1858 | Description: The order creation request is invalid because the delivery date given is in the past. |
1122 | HttpStatus: 400 | 1859 | HttpStatus: 400 |
1123 | 1860 | ||
1861 | Value: 2506 | ||
1862 | Name: MERCHANT_PRIVATE_POST_ORDERS_WIRE_DEADLINE_IS_NEVER | ||
1863 | Description: The order creation request is invalid because a wire deadline of "never" is not allowed. | ||
1864 | HttpStatus: 400 | ||
1865 | |||
1866 | Value: 2507 | ||
1867 | Name: MERCHANT_PRIVATE_POST_ORDERS_PAY_DEADLINE_IN_PAST | ||
1868 | Description: The order creation request is invalid because the given payment deadline is in the past. | ||
1869 | HttpStatus: 400 | ||
1870 | |||
1871 | Value: 2508 | ||
1872 | Name: MERCHANT_PRIVATE_POST_ORDERS_REFUND_DEADLINE_IN_PAST | ||
1873 | Description: The order creation request is invalid because the given refund deadline is in the past. | ||
1874 | HttpStatus: 400 | ||
1875 | |||
1876 | Value: 2509 | ||
1877 | Name: MERCHANT_PRIVATE_POST_ORDERS_NO_EXCHANGES_FOR_WIRE_METHOD | ||
1878 | Description: The backend does not trust any exchange that would allow funds to be wired to any bank account of this instance using the wire method specified with the order. Note that right now, we do not support the use of exchange bank accounts with mandatory currency conversion. | ||
1879 | HttpStatus: 409 | ||
1124 | 1880 | ||
1125 | Value: 2510 | 1881 | Value: 2510 |
1126 | Name: MERCHANT_PRIVATE_PATCH_ORDERS_ID_FORGET_PATH_SYNTAX_INCORRECT | 1882 | Name: MERCHANT_PRIVATE_PATCH_ORDERS_ID_FORGET_PATH_SYNTAX_INCORRECT |
@@ -1134,24 +1890,34 @@ HttpStatus: 409 | |||
1134 | 1890 | ||
1135 | Value: 2520 | 1891 | Value: 2520 |
1136 | Name: MERCHANT_PRIVATE_DELETE_ORDERS_AWAITING_PAYMENT | 1892 | Name: MERCHANT_PRIVATE_DELETE_ORDERS_AWAITING_PAYMENT |
1137 | Description: The order provided to the backend could not be deleted, our offer is still valid and awaiting payment. | 1893 | Description: The order provided to the backend could not be deleted, our offer is still valid and awaiting payment. Deletion may work later after the offer has expired if it remains unpaid. |
1894 | HttpStatus: 409 | ||
1895 | |||
1896 | Value: 2521 | ||
1897 | Name: MERCHANT_PRIVATE_DELETE_ORDERS_ALREADY_PAID | ||
1898 | Description: The order provided to the backend could not be deleted as the order was already paid. | ||
1138 | HttpStatus: 409 | 1899 | HttpStatus: 409 |
1139 | 1900 | ||
1140 | Value: 2530 | 1901 | Value: 2530 |
1141 | Name: MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_INCONSISTENT_AMOUNT | 1902 | Name: MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_INCONSISTENT_AMOUNT |
1142 | Description: The amount to be refunded is inconsistent: either is lower than the previous amount being awarded, or it is too big to be paid back. In this second case, the fault stays on the business dept. side. | 1903 | Description: The amount to be refunded is inconsistent: either is lower than the previous amount being awarded, or it exceeds the original price paid by the customer. |
1143 | HttpStatus: 409 | 1904 | HttpStatus: 409 |
1144 | 1905 | ||
1145 | Value: 2531 | 1906 | Value: 2531 |
1146 | Name: MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_ORDER_UNPAID | 1907 | Name: MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_ORDER_UNPAID |
1147 | Description: The frontend gave an unpaid order id to issue the refund to. | 1908 | Description: Only paid orders can be refunded, and the frontend specified an unpaid order to issue a refund for. |
1148 | HttpStatus: 409 | 1909 | HttpStatus: 409 |
1149 | 1910 | ||
1150 | Value: 2532 | 1911 | Value: 2532 |
1151 | Name: MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_NOT_ALLOWED_BY_CONTRACT | 1912 | Name: MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_NOT_ALLOWED_BY_CONTRACT |
1152 | Description: The refund delay was set to 0 and thus no refunds are allowed for this order. | 1913 | Description: The refund delay was set to 0 and thus no refunds are ever allowed for this order. |
1153 | HttpStatus: 403 | 1914 | HttpStatus: 403 |
1154 | 1915 | ||
1916 | Value: 2533 | ||
1917 | Name: MERCHANT_PRIVATE_POST_ORDERS_TOKEN_FAMILY_SLUG_UNKNOWN | ||
1918 | Description: The token family slug provided in this order could not be found in the merchant database. | ||
1919 | HttpStatus: 404 | ||
1920 | |||
1155 | 1921 | ||
1156 | 1922 | ||
1157 | # 2550-2599: transfer operations | 1923 | # 2550-2599: transfer operations |
@@ -1196,6 +1962,11 @@ Name: MERCHANT_PRIVATE_POST_TRANSFERS_CONFLICTING_SUBMISSION | |||
1196 | Description: The backend was previously informed about a wire transfer with the same ID but a different amount. Multiple wire transfers with the same ID are not allowed. If the new amount is correct, the old transfer should first be deleted. | 1962 | Description: The backend was previously informed about a wire transfer with the same ID but a different amount. Multiple wire transfers with the same ID are not allowed. If the new amount is correct, the old transfer should first be deleted. |
1197 | HttpStatus: 409 | 1963 | HttpStatus: 409 |
1198 | 1964 | ||
1965 | Value: 2563 | ||
1966 | Name: MERCHANT_EXCHANGE_TRANSFERS_CONFLICTING_TRANSFERS | ||
1967 | Description: The amount transferred differs between what was submitted and what the exchange claimed. | ||
1968 | HttpStatus: 0 | ||
1969 | |||
1199 | 1970 | ||
1200 | # 2600-2649: instance operations | 1971 | # 2600-2649: instance operations |
1201 | 1972 | ||
@@ -1224,6 +1995,16 @@ Name: MERCHANT_PRIVATE_PATCH_INSTANCES_PURGE_REQUIRED | |||
1224 | Description: The merchant backend cannot update an instance under the given identifier, the previous one was deleted but must be purged first. | 1995 | Description: The merchant backend cannot update an instance under the given identifier, the previous one was deleted but must be purged first. |
1225 | HttpStatus: 409 | 1996 | HttpStatus: 409 |
1226 | 1997 | ||
1998 | Value: 2626 | ||
1999 | Name: MERCHANT_PRIVATE_ACCOUNT_DELETE_UNKNOWN_ACCOUNT | ||
2000 | Description: The bank account referenced in the requested operation was not found. | ||
2001 | HttpStatus: 404 | ||
2002 | |||
2003 | Value: 2627 | ||
2004 | Name: MERCHANT_PRIVATE_ACCOUNT_EXISTS | ||
2005 | Description: The bank account specified in the request already exists at the merchant. | ||
2006 | HttpStatus: 409 | ||
2007 | |||
1227 | 2008 | ||
1228 | # 2650-2699: product operations | 2009 | # 2650-2699: product operations |
1229 | 2010 | ||
@@ -1269,31 +2050,36 @@ Name: MERCHANT_PRIVATE_POST_RESERVES_UNSUPPORTED_WIRE_METHOD | |||
1269 | Description: The requested wire method is not supported by the exchange. | 2050 | Description: The requested wire method is not supported by the exchange. |
1270 | HttpStatus: 409 | 2051 | HttpStatus: 409 |
1271 | 2052 | ||
2053 | Value: 2701 | ||
2054 | Name: MERCHANT_PRIVATE_POST_RESERVES_REWARDS_NOT_ALLOWED | ||
2055 | Description: The requested exchange does not allow rewards. | ||
2056 | HttpStatus: 409 | ||
2057 | |||
1272 | Value: 2710 | 2058 | Value: 2710 |
1273 | Name: MERCHANT_PRIVATE_DELETE_RESERVES_NO_SUCH_RESERVE | 2059 | Name: MERCHANT_PRIVATE_DELETE_RESERVES_NO_SUCH_RESERVE |
1274 | Description: The reserve could not be deleted because it is unknown. | 2060 | Description: The reserve could not be deleted because it is unknown. |
1275 | HttpStatus: 404 | 2061 | HttpStatus: 404 |
1276 | 2062 | ||
1277 | # 2750-2799: tip authorization | 2063 | # 2750-2799: reward authorization |
1278 | 2064 | ||
1279 | Value: 2750 | 2065 | Value: 2750 |
1280 | Name: MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_RESERVE_EXPIRED | 2066 | Name: MERCHANT_PRIVATE_POST_REWARD_AUTHORIZE_RESERVE_EXPIRED |
1281 | Description: The reserve that was used to fund the tips has expired. | 2067 | Description: The reserve that was used to fund the rewards has expired. |
1282 | HttpStatus: 410 | 2068 | HttpStatus: 410 |
1283 | 2069 | ||
1284 | Value: 2751 | 2070 | Value: 2751 |
1285 | Name: MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_RESERVE_UNKNOWN | 2071 | Name: MERCHANT_PRIVATE_POST_REWARD_AUTHORIZE_RESERVE_UNKNOWN |
1286 | Description: The reserve that was used to fund the tips was not found in the DB. | 2072 | Description: The reserve that was used to fund the rewards was not found in the DB. |
1287 | HttpStatus: 503 | 2073 | HttpStatus: 503 |
1288 | 2074 | ||
1289 | Value: 2752 | 2075 | Value: 2752 |
1290 | Name: MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_INSUFFICIENT_FUNDS | 2076 | Name: MERCHANT_PRIVATE_POST_REWARD_AUTHORIZE_INSUFFICIENT_FUNDS |
1291 | Description: The backend knows the instance that was supposed to support the tip, and it was configured for tipping. However, the funds remaining are insufficient to cover the tip, and the merchant should top up the reserve. | 2077 | Description: The backend knows the instance that was supposed to support the reward, and it was configured for rewardping. However, the funds remaining are insufficient to cover the reward, and the merchant should top up the reserve. |
1292 | HttpStatus: 0 | 2078 | HttpStatus: 0 |
1293 | 2079 | ||
1294 | Value: 2753 | 2080 | Value: 2753 |
1295 | Name: MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_RESERVE_NOT_FOUND | 2081 | Name: MERCHANT_PRIVATE_POST_REWARD_AUTHORIZE_RESERVE_NOT_FOUND |
1296 | Description: The backend failed to find a reserve needed to authorize the tip. | 2082 | Description: The backend failed to find a reserve needed to authorize the reward. |
1297 | HttpStatus: 503 | 2083 | HttpStatus: 503 |
1298 | 2084 | ||
1299 | Value: 2800 | 2085 | Value: 2800 |
@@ -1301,6 +2087,53 @@ Name: MERCHANT_PRIVATE_GET_ORDERS_ID_AMOUNT_ARITHMETIC_FAILURE | |||
1301 | Description: The merchant backend encountered a failure in computing the deposit total. | 2087 | Description: The merchant backend encountered a failure in computing the deposit total. |
1302 | HttpStatus: 200 | 2088 | HttpStatus: 200 |
1303 | 2089 | ||
2090 | # 2850-2899: template and OTP device operations | ||
2091 | |||
2092 | Value: 2850 | ||
2093 | Name: MERCHANT_PRIVATE_POST_TEMPLATES_CONFLICT_TEMPLATE_EXISTS | ||
2094 | Description: The template ID already exists. | ||
2095 | HttpStatus: 409 | ||
2096 | |||
2097 | Value: 2851 | ||
2098 | Name: MERCHANT_PRIVATE_POST_OTP_DEVICES_CONFLICT_OTP_DEVICE_EXISTS | ||
2099 | Description: The OTP device ID already exists. | ||
2100 | HttpStatus: 409 | ||
2101 | |||
2102 | Value: 2860 | ||
2103 | Name: MERCHANT_POST_USING_TEMPLATES_AMOUNT_CONFLICT_TEMPLATES_CONTRACT_AMOUNT | ||
2104 | Description: Amount given in the using template and in the template contract. There is a conflict. | ||
2105 | HttpStatus: 409 | ||
2106 | |||
2107 | Value: 2861 | ||
2108 | Name: MERCHANT_POST_USING_TEMPLATES_SUMMARY_CONFLICT_TEMPLATES_CONTRACT_SUBJECT | ||
2109 | Description: Subject given in the using template and in the template contract. There is a conflict. | ||
2110 | HttpStatus: 409 | ||
2111 | |||
2112 | Value: 2862 | ||
2113 | Name: MERCHANT_POST_USING_TEMPLATES_NO_AMOUNT | ||
2114 | Description: Amount not given in the using template and in the template contract. There is a conflict. | ||
2115 | HttpStatus: 409 | ||
2116 | |||
2117 | Value: 2863 | ||
2118 | Name: MERCHANT_POST_USING_TEMPLATES_NO_SUMMARY | ||
2119 | Description: Subject not given in the using template and in the template contract. There is a conflict. | ||
2120 | HttpStatus: 409 | ||
2121 | |||
2122 | |||
2123 | |||
2124 | # 2900-2949: webhook operations | ||
2125 | |||
2126 | Value: 2900 | ||
2127 | Name: MERCHANT_PRIVATE_POST_WEBHOOKS_CONFLICT_WEBHOOK_EXISTS | ||
2128 | Description: The webhook ID elready exists. | ||
2129 | HttpStatus: 409 | ||
2130 | |||
2131 | Value: 2910 | ||
2132 | Name: MERCHANT_PRIVATE_POST_PENDING_WEBHOOKS_CONFLICT_PENDING_WEBHOOK_EXISTS | ||
2133 | Description: The webhook serial elready exists. | ||
2134 | HttpStatus: 409 | ||
2135 | |||
2136 | |||
1304 | 2137 | ||
1305 | 2138 | ||
1306 | 2139 | ||
@@ -1317,6 +2150,16 @@ Name: AUDITOR_EXCHANGE_SIGNING_KEY_REVOKED | |||
1317 | Description: The exchange key used for the signature on the deposit confirmation was revoked. | 2150 | Description: The exchange key used for the signature on the deposit confirmation was revoked. |
1318 | HttpStatus: 410 | 2151 | HttpStatus: 410 |
1319 | 2152 | ||
2153 | Value: 3102 | ||
2154 | Name: AUDITOR_RESOURCE_NOT_FOUND | ||
2155 | Description: The requested resource could not be found. | ||
2156 | HttpStatus: 404 | ||
2157 | |||
2158 | Value: 3103 | ||
2159 | Name: AUDITOR_URI_MISSING_PATH_COMPONENT | ||
2160 | Description: The URI is missing a path component. | ||
2161 | HttpStatus: 400 | ||
2162 | |||
1320 | 2163 | ||
1321 | # 5000 - 5999: Reserved for bank | 2164 | # 5000 - 5999: Reserved for bank |
1322 | # 5000 - 5099: Reserved for BANK_GENERIC | 2165 | # 5000 - 5099: Reserved for BANK_GENERIC |
@@ -1324,57 +2167,52 @@ HttpStatus: 410 | |||
1324 | Value: 5101 | 2167 | Value: 5101 |
1325 | Name: BANK_SAME_ACCOUNT | 2168 | Name: BANK_SAME_ACCOUNT |
1326 | Description: Wire transfer attempted with credit and debit party being the same bank account. | 2169 | Description: Wire transfer attempted with credit and debit party being the same bank account. |
1327 | HttpStatus: 0 | 2170 | HttpStatus: 400 |
1328 | 2171 | ||
1329 | Value: 5102 | 2172 | Value: 5102 |
1330 | Name: BANK_UNALLOWED_DEBIT | 2173 | Name: BANK_UNALLOWED_DEBIT |
1331 | Description: Wire transfer impossible, due to financial limitation of the party that attempted the payment. | 2174 | Description: Wire transfer impossible, due to financial limitation of the party that attempted the payment. |
1332 | HttpStatus: 0 | 2175 | HttpStatus: 409 |
1333 | 2176 | ||
1334 | Value: 5103 | 2177 | Value: 5103 |
1335 | Name: BANK_NEGATIVE_NUMBER_AMOUNT | 2178 | Name: BANK_NEGATIVE_NUMBER_AMOUNT |
1336 | Description: Negative number was used (as value and/or fraction) to initiate a Amount object. | 2179 | Description: Negative numbers are not allowed (as value and/or fraction) to instantiate an amount object. |
1337 | HttpStatus: 0 | 2180 | HttpStatus: 400 |
1338 | 2181 | ||
1339 | Value: 5104 | 2182 | Value: 5104 |
1340 | Name: BANK_NUMBER_TOO_BIG | 2183 | Name: BANK_NUMBER_TOO_BIG |
1341 | Description: A number too big was used (as value and/or fraction) to initiate a amount object. | 2184 | Description: A too big number was used (as value and/or fraction) to instantiate an amount object. |
1342 | HttpStatus: 0 | 2185 | HttpStatus: 400 |
1343 | |||
1344 | Value: 5105 | ||
1345 | Name: BANK_LOGIN_FAILED | ||
1346 | Description: Could not login for the requested operation. | ||
1347 | HttpStatus: 0 | ||
1348 | 2186 | ||
1349 | Value: 5106 | 2187 | Value: 5106 |
1350 | Name: BANK_UNKNOWN_ACCOUNT | 2188 | Name: BANK_UNKNOWN_ACCOUNT |
1351 | Description: The bank account referenced in the requested operation was not found. Returned along "400 Not found". | 2189 | Description: The bank account referenced in the requested operation was not found. |
1352 | HttpStatus: 0 | 2190 | HttpStatus: 404 |
1353 | 2191 | ||
1354 | Value: 5107 | 2192 | Value: 5107 |
1355 | Name: BANK_TRANSACTION_NOT_FOUND | 2193 | Name: BANK_TRANSACTION_NOT_FOUND |
1356 | Description: The transaction referenced in the requested operation (typically a reject operation), was not found. | 2194 | Description: The transaction referenced in the requested operation (typically a reject operation), was not found. |
1357 | HttpStatus: 0 | 2195 | HttpStatus: 404 |
1358 | 2196 | ||
1359 | Value: 5108 | 2197 | Value: 5108 |
1360 | Name: BANK_BAD_FORMAT_AMOUNT | 2198 | Name: BANK_BAD_FORMAT_AMOUNT |
1361 | Description: Bank received a malformed amount string. | 2199 | Description: Bank received a malformed amount string. |
1362 | HttpStatus: 0 | 2200 | HttpStatus: 400 |
1363 | 2201 | ||
1364 | Value: 5109 | 2202 | Value: 5109 |
1365 | Name: BANK_REJECT_NO_RIGHTS | 2203 | Name: BANK_REJECT_NO_RIGHTS |
1366 | Description: The client does not own the account credited by the transaction which is to be rejected, so it has no rights do reject it. To be returned along HTTP 403 Forbidden. | 2204 | Description: The client does not own the account credited by the transaction which is to be rejected, so it has no rights do reject it. |
1367 | HttpStatus: 0 | 2205 | HttpStatus: 403 |
1368 | 2206 | ||
1369 | Value: 5110 | 2207 | Value: 5110 |
1370 | Name: BANK_UNMANAGED_EXCEPTION | 2208 | Name: BANK_UNMANAGED_EXCEPTION |
1371 | Description: This error code is returned when no known exception types captured the exception, and comes along with a 500 Internal Server Error. | 2209 | Description: This error code is returned when no known exception types captured the exception. |
1372 | HttpStatus: 0 | 2210 | HttpStatus: 500 |
1373 | 2211 | ||
1374 | Value: 5111 | 2212 | Value: 5111 |
1375 | Name: BANK_SOFT_EXCEPTION | 2213 | Name: BANK_SOFT_EXCEPTION |
1376 | Description: This error code is used for all those exceptions that do not really need a specific error code to return to the client, but need to signal the middleware that the bank is not responding with 500 Internal Server Error. Used for example when a client is trying to register with a unavailable username. | 2214 | Description: This error code is used for all those exceptions that do not really need a specific error code to return to the client. Used for example when a client is trying to register with a unavailable username. |
1377 | HttpStatus: 0 | 2215 | HttpStatus: 500 |
1378 | 2216 | ||
1379 | Value: 5112 | 2217 | Value: 5112 |
1380 | Name: BANK_TRANSFER_REQUEST_UID_REUSED | 2218 | Name: BANK_TRANSFER_REQUEST_UID_REUSED |
@@ -1391,6 +2229,160 @@ Name: BANK_DUPLICATE_RESERVE_PUB_SUBJECT | |||
1391 | Description: The wire transfer subject duplicates an existing reserve public key. But wire transfer subjects must be unique. | 2229 | Description: The wire transfer subject duplicates an existing reserve public key. But wire transfer subjects must be unique. |
1392 | HttpStatus: 409 | 2230 | HttpStatus: 409 |
1393 | 2231 | ||
2232 | Value: 5115 | ||
2233 | Name: BANK_ANCIENT_TRANSACTION_GONE | ||
2234 | Description: The client requested a transaction that is so far in the past, that it has been forgotten by the bank. | ||
2235 | HttpStatus: 410 | ||
2236 | |||
2237 | Value: 5116 | ||
2238 | Name: BANK_ABORT_CONFIRM_CONFLICT | ||
2239 | Description: The client attempted to abort a transaction that was already confirmed. | ||
2240 | HttpStatus: 409 | ||
2241 | |||
2242 | Value: 5117 | ||
2243 | Name: BANK_CONFIRM_ABORT_CONFLICT | ||
2244 | Description: The client attempted to confirm a transaction that was already aborted. | ||
2245 | HttpStatus: 409 | ||
2246 | |||
2247 | Value: 5118 | ||
2248 | Name: BANK_REGISTER_CONFLICT | ||
2249 | Description: The client attempted to register an account with the same name. | ||
2250 | HttpStatus: 409 | ||
2251 | |||
2252 | Value: 5119 | ||
2253 | Name: BANK_POST_WITHDRAWAL_OPERATION_REQUIRED | ||
2254 | Description: The client attempted to confirm a withdrawal operation before the wallet posted the required details. | ||
2255 | HttpStatus: 400 | ||
2256 | |||
2257 | Value: 5120 | ||
2258 | Name: BANK_RESERVED_USERNAME_CONFLICT | ||
2259 | Description: The client tried to register a new account under a reserved username (like 'admin' for example). | ||
2260 | HttpStatus: 409 | ||
2261 | |||
2262 | Value: 5121 | ||
2263 | Name: BANK_REGISTER_USERNAME_REUSE | ||
2264 | Description: The client tried to register a new account with an username already in use. | ||
2265 | HttpStatus: 409 | ||
2266 | |||
2267 | Value: 5122 | ||
2268 | Name: BANK_REGISTER_PAYTO_URI_REUSE | ||
2269 | Description: The client tried to register a new account with a payto:// URI already in use. | ||
2270 | HttpStatus: 409 | ||
2271 | |||
2272 | Value: 5123 | ||
2273 | Name: BANK_ACCOUNT_BALANCE_NOT_ZERO | ||
2274 | Description: The client tried to delete an account with a non null balance. | ||
2275 | HttpStatus: 409 | ||
2276 | |||
2277 | Value: 5124 | ||
2278 | Name: BANK_UNKNOWN_CREDITOR | ||
2279 | Description: The client tried to create a transaction or an operation that credit an unknown account. | ||
2280 | HttpStatus: 409 | ||
2281 | |||
2282 | Value: 5125 | ||
2283 | Name: BANK_UNKNOWN_DEBTOR | ||
2284 | Description: The client tried to create a transaction or an operation that debit an unknown account. | ||
2285 | HttpStatus: 409 | ||
2286 | |||
2287 | Value: 5126 | ||
2288 | Name: BANK_ACCOUNT_IS_EXCHANGE | ||
2289 | Description: The client tried to perform an action prohibited for exchange accounts. | ||
2290 | HttpStatus: 409 | ||
2291 | |||
2292 | Value: 5127 | ||
2293 | Name: BANK_ACCOUNT_IS_NOT_EXCHANGE | ||
2294 | Description: The client tried to perform an action reserved for exchange accounts. | ||
2295 | HttpStatus: 409 | ||
2296 | |||
2297 | Value: 5128 | ||
2298 | Name: BANK_BAD_CONVERSION | ||
2299 | Description: Received currency conversion is wrong. | ||
2300 | HttpStatus: 409 | ||
2301 | |||
2302 | Value: 5129 | ||
2303 | Name: BANK_MISSING_TAN_INFO | ||
2304 | Description: The account referenced in this operation is missing tan info for the chosen channel. | ||
2305 | HttpStatus: 409 | ||
2306 | |||
2307 | Value: 5130 | ||
2308 | Name: BANK_CONFIRM_INCOMPLETE | ||
2309 | Description: The client attempted to confirm a transaction with incomplete info. | ||
2310 | HttpStatus: 409 | ||
2311 | |||
2312 | Value: 5131 | ||
2313 | Name: BANK_TAN_RATE_LIMITED | ||
2314 | Description: The request rate is too high. The server is refusing requests to guard against brute-force attacks. | ||
2315 | HttpStatus: 429 | ||
2316 | |||
2317 | Value: 5132 | ||
2318 | Name: BANK_TAN_CHANNEL_NOT_SUPPORTED | ||
2319 | Description: This TAN channel is not supported. | ||
2320 | HttpStatus: 501 | ||
2321 | |||
2322 | Value: 5133 | ||
2323 | Name: BANK_TAN_CHANNEL_SCRIPT_FAILED | ||
2324 | Description: Failed to send TAN using the helper script. Either script is not found, or script timeout, or script terminated with a non-successful result. | ||
2325 | HttpStatus: 500 | ||
2326 | |||
2327 | Value: 5134 | ||
2328 | Name: BANK_TAN_CHALLENGE_FAILED | ||
2329 | Description: The client's response to the challenge was invalid. | ||
2330 | HttpStatus: 403 | ||
2331 | |||
2332 | Value: 5135 | ||
2333 | Name: BANK_NON_ADMIN_PATCH_LEGAL_NAME | ||
2334 | Description: A non-admin user has tried to change their legal name. | ||
2335 | HttpStatus: 409 | ||
2336 | |||
2337 | Value: 5136 | ||
2338 | Name: BANK_NON_ADMIN_PATCH_DEBT_LIMIT | ||
2339 | Description: A non-admin user has tried to change their debt limit. | ||
2340 | HttpStatus: 409 | ||
2341 | |||
2342 | Value: 5137 | ||
2343 | Name: BANK_NON_ADMIN_PATCH_MISSING_OLD_PASSWORD | ||
2344 | Description: A non-admin user has tried to change their password whihout providing the current one. | ||
2345 | HttpStatus: 409 | ||
2346 | |||
2347 | Value: 5138 | ||
2348 | Name: BANK_PATCH_BAD_OLD_PASSWORD | ||
2349 | Description: Provided old password does not match current password. | ||
2350 | HttpStatus: 409 | ||
2351 | |||
2352 | Value: 5139 | ||
2353 | Name: BANK_PATCH_ADMIN_EXCHANGE | ||
2354 | Description: An admin user has tried to become an exchange. | ||
2355 | HttpStatus: 409 | ||
2356 | |||
2357 | Value: 5140 | ||
2358 | Name: BANK_NON_ADMIN_PATCH_CASHOUT | ||
2359 | Description: A non-admin user has tried to change their cashout account. | ||
2360 | HttpStatus: 409 | ||
2361 | |||
2362 | Value: 5141 | ||
2363 | Name: BANK_NON_ADMIN_PATCH_CONTACT | ||
2364 | Description: A non-admin user has tried to change their contact info. | ||
2365 | HttpStatus: 409 | ||
2366 | |||
2367 | Value: 5142 | ||
2368 | Name: BANK_ADMIN_CREDITOR | ||
2369 | Description: The client tried to create a transaction that credit the admin account. | ||
2370 | HttpStatus: 409 | ||
2371 | |||
2372 | Value: 5143 | ||
2373 | Name: BANK_CHALLENGE_NOT_FOUND | ||
2374 | Description: The referenced challenge was not found. | ||
2375 | HttpStatus: 404 | ||
2376 | |||
2377 | Value: 5144 | ||
2378 | Name: BANK_TAN_CHALLENGE_EXPIRED | ||
2379 | Description: The referenced challenge has expired. | ||
2380 | HttpStatus: 409 | ||
2381 | |||
2382 | Value: 5145 | ||
2383 | Name: BANK_NON_ADMIN_SET_TAN_CHANNEL | ||
2384 | Description: A non-admin user has tried to create an account with 2fa. | ||
2385 | HttpStatus: 409 | ||
1394 | 2386 | ||
1395 | # 6000 - 6999: Reserved for sync | 2387 | # 6000 - 6999: Reserved for sync |
1396 | # 6000 - 6099: Reserved for SYNC_GENERIC | 2388 | # 6000 - 6099: Reserved for SYNC_GENERIC |
@@ -1460,6 +2452,17 @@ Name: SYNC_MISSING_CONTENT_LENGTH | |||
1460 | Description: The "Content-length" field for the upload is missing. | 2452 | Description: The "Content-length" field for the upload is missing. |
1461 | HttpStatus: 400 | 2453 | HttpStatus: 400 |
1462 | 2454 | ||
2455 | Value: 6113 | ||
2456 | Name: SYNC_GENERIC_BACKEND_ERROR | ||
2457 | Description: Sync had problems communicating with its payment backend. | ||
2458 | HttpStatus: 502 | ||
2459 | |||
2460 | Value: 6114 | ||
2461 | Name: SYNC_GENERIC_BACKEND_TIMEOUT | ||
2462 | Description: Sync experienced a timeout communicating with its payment backend. | ||
2463 | HttpStatus: 504 | ||
2464 | |||
2465 | |||
1463 | 2466 | ||
1464 | # 7000 - 7999: Reserved for wallet | 2467 | # 7000 - 7999: Reserved for wallet |
1465 | 2468 | ||
@@ -1544,8 +2547,8 @@ Description: A group of withdrawal operations (typically for the same reserve at | |||
1544 | HttpStatus: 0 | 2547 | HttpStatus: 0 |
1545 | 2548 | ||
1546 | Value: 7016 | 2549 | Value: 7016 |
1547 | Name: WALLET_TIPPING_COIN_SIGNATURE_INVALID | 2550 | Name: WALLET_REWARD_COIN_SIGNATURE_INVALID |
1548 | Description: The signature on a coin by the exchange's denomination key (obtained through the merchant via tipping) is invalid after unblinding it. | 2551 | Description: The signature on a coin by the exchange's denomination key (obtained through the merchant via a reward) is invalid after unblinding it. |
1549 | HttpStatus: 0 | 2552 | HttpStatus: 0 |
1550 | 2553 | ||
1551 | Value: 7017 | 2554 | Value: 7017 |
@@ -1568,7 +2571,87 @@ Name: WALLET_CONTRACT_TERMS_MALFORMED | |||
1568 | Description: The contract terms given by the merchant are malformed. | 2571 | Description: The contract terms given by the merchant are malformed. |
1569 | HttpStatus: 0 | 2572 | HttpStatus: 0 |
1570 | 2573 | ||
1571 | # 8000 - 8999: Reserved for Anastasis | 2574 | Value: 7021 |
2575 | Name: WALLET_PENDING_OPERATION_FAILED | ||
2576 | Description: A pending operation failed, and thus the request can't be completed. | ||
2577 | HttpStatus: 0 | ||
2578 | |||
2579 | Value: 7022 | ||
2580 | Name: WALLET_PAY_MERCHANT_SERVER_ERROR | ||
2581 | Description: A payment was attempted, but the merchant had an internal server error (5xx). | ||
2582 | HttpStatus: 0 | ||
2583 | |||
2584 | Value: 7023 | ||
2585 | Name: WALLET_CRYPTO_WORKER_ERROR | ||
2586 | Description: The crypto worker failed. | ||
2587 | HttpStatus: 0 | ||
2588 | |||
2589 | Value: 7024 | ||
2590 | Name: WALLET_CRYPTO_WORKER_BAD_REQUEST | ||
2591 | Description: The crypto worker received a bad request. | ||
2592 | HttpStatus: 0 | ||
2593 | |||
2594 | Value: 7025 | ||
2595 | Name: WALLET_WITHDRAWAL_KYC_REQUIRED | ||
2596 | Description: A KYC step is required before withdrawal can proceed. | ||
2597 | HttpStatus: 0 | ||
2598 | |||
2599 | Value: 7026 | ||
2600 | Name: WALLET_DEPOSIT_GROUP_INSUFFICIENT_BALANCE | ||
2601 | Description: The wallet does not have sufficient balance to create a deposit group. | ||
2602 | HttpStatus: 0 | ||
2603 | |||
2604 | Value: 7027 | ||
2605 | Name: WALLET_PEER_PUSH_PAYMENT_INSUFFICIENT_BALANCE | ||
2606 | Description: The wallet does not have sufficient balance to create a peer push payment. | ||
2607 | HttpStatus: 0 | ||
2608 | |||
2609 | Value: 7028 | ||
2610 | Name: WALLET_PEER_PULL_PAYMENT_INSUFFICIENT_BALANCE | ||
2611 | Description: The wallet does not have sufficient balance to pay for an invoice. | ||
2612 | HttpStatus: 0 | ||
2613 | |||
2614 | Value: 7029 | ||
2615 | Name: WALLET_REFRESH_GROUP_INCOMPLETE | ||
2616 | Description: A group of refresh operations has errors and will be tried again later. | ||
2617 | HttpStatus: 0 | ||
2618 | |||
2619 | Value: 7030 | ||
2620 | Name: WALLET_EXCHANGE_BASE_URL_MISMATCH | ||
2621 | Description: The exchange's self-reported base URL does not match the one that the wallet is using. | ||
2622 | HttpStatus: 0 | ||
2623 | |||
2624 | Value: 7031 | ||
2625 | Name: WALLET_ORDER_ALREADY_PAID | ||
2626 | Description: The order has already been paid by another wallet. | ||
2627 | HttpStatus: 0 | ||
2628 | |||
2629 | Value: 7032 | ||
2630 | Name: WALLET_EXCHANGE_UNAVAILABLE | ||
2631 | Description: An exchange that is required for some request is currently not available. | ||
2632 | HttpStatus: 0 | ||
2633 | |||
2634 | Value: 7033 | ||
2635 | Name: WALLET_EXCHANGE_ENTRY_USED | ||
2636 | Description: An exchange entry is still used by the exchange, thus it can't be deleted without purging. | ||
2637 | HttpStatus: 0 | ||
2638 | |||
2639 | Value: 7034 | ||
2640 | Name: WALLET_DB_UNAVAILABLE | ||
2641 | Description: The wallet database is unavailable and the wallet thus is not operational. | ||
2642 | HttpStatus: 0 | ||
2643 | |||
2644 | Value: 7035 | ||
2645 | Name: WALLET_TALER_URI_MALFORMED | ||
2646 | Description: A taler:// URI is malformed and can't be parsed. | ||
2647 | HttpStatus: 0 | ||
2648 | |||
2649 | Value: 7036 | ||
2650 | Name: WALLET_CORE_REQUEST_CANCELLED | ||
2651 | Description: A wallet-core request was cancelled and thus can't provide a response. | ||
2652 | HttpStatus: 0 | ||
2653 | |||
2654 | # 8000 - 8499: Reserved for Anastasis | ||
1572 | 2655 | ||
1573 | Value: 8000 | 2656 | Value: 8000 |
1574 | Name: ANASTASIS_GENERIC_BACKEND_TIMEOUT | 2657 | Name: ANASTASIS_GENERIC_BACKEND_TIMEOUT |
@@ -1610,15 +2693,25 @@ Name: ANASTASIS_GENERIC_PAYMENT_CHECK_START_FAILED | |||
1610 | Description: The backend could not check payment status with the payment processor. | 2693 | Description: The backend could not check payment status with the payment processor. |
1611 | HttpStatus: 500 | 2694 | HttpStatus: 500 |
1612 | 2695 | ||
2696 | Value: 8008 | ||
2697 | Name: ANASTASIS_GENERIC_PROVIDER_UNREACHABLE | ||
2698 | Description: The Anastasis provider could not be reached. | ||
2699 | HttpStatus: 0 | ||
2700 | |||
2701 | Value: 8009 | ||
2702 | Name: ANASTASIS_PAYMENT_GENERIC_TIMEOUT | ||
2703 | Description: HTTP server experienced a timeout while awaiting promised payment. | ||
2704 | HttpStatus: 408 | ||
2705 | |||
1613 | 2706 | ||
1614 | Value: 8108 | 2707 | Value: 8108 |
1615 | Name: ANASTASIS_TRUTH_UNKNOWN | 2708 | Name: ANASTASIS_TRUTH_UNKNOWN |
1616 | Description: The truth public key is unknown to the provider. | 2709 | Description: The key share is unknown to the provider. |
1617 | HttpStatus: 404 | 2710 | HttpStatus: 404 |
1618 | 2711 | ||
1619 | Value: 8109 | 2712 | Value: 8109 |
1620 | Name: ANASTASIS_TRUTH_AUTHORIZATION_METHOD_NO_LONGER_SUPPORTED | 2713 | Name: ANASTASIS_TRUTH_AUTHORIZATION_METHOD_NO_LONGER_SUPPORTED |
1621 | Description: The authorization method used by the truth is no longer supported by the provider. | 2714 | Description: The authorization method used for the key share is no longer supported by the provider. |
1622 | HttpStatus: 500 | 2715 | HttpStatus: 500 |
1623 | 2716 | ||
1624 | Value: 8110 | 2717 | Value: 8110 |
@@ -1633,13 +2726,8 @@ HttpStatus: 403 | |||
1633 | 2726 | ||
1634 | Value: 8112 | 2727 | Value: 8112 |
1635 | Name: ANASTASIS_TRUTH_CHALLENGE_UNKNOWN | 2728 | Name: ANASTASIS_TRUTH_CHALLENGE_UNKNOWN |
1636 | Description: The service is unaware of having issued a challenge. | 2729 | Description: The backend is not aware of having issued the provided challenge code. Either this is the wrong code, or it has expired. |
1637 | HttpStatus: 410 | 2730 | HttpStatus: 404 |
1638 | |||
1639 | Value: 8113 | ||
1640 | Name: ANASTASIS_TRUTH_CHALLENGE_ACTIVE | ||
1641 | Description: A challenge is already active, the service is thus not issuing a new one. | ||
1642 | HttpStatus: 208 | ||
1643 | 2731 | ||
1644 | Value: 8114 | 2732 | Value: 8114 |
1645 | Name: ANASTASIS_TRUTH_AUTHORIZATION_START_FAILED | 2733 | Name: ANASTASIS_TRUTH_AUTHORIZATION_START_FAILED |
@@ -1673,28 +2761,27 @@ HttpStatus: 502 | |||
1673 | 2761 | ||
1674 | Value: 8120 | 2762 | Value: 8120 |
1675 | Name: ANASTASIS_TRUTH_DECRYPTION_FAILED | 2763 | Name: ANASTASIS_TRUTH_DECRYPTION_FAILED |
1676 | Description: The decryption of the truth object failed with the provided key. | 2764 | Description: The decryption of the key share failed with the provided key. |
1677 | HttpStatus: 417 | 2765 | HttpStatus: 400 |
1678 | 2766 | ||
1679 | Value: 8121 | 2767 | Value: 8121 |
1680 | Name: ANASTASIS_TRUTH_RATE_LIMITED | 2768 | Name: ANASTASIS_TRUTH_RATE_LIMITED |
1681 | Description: The request rate is too high. The server is refusing requests to guard against brute-force attacks. | 2769 | Description: The request rate is too high. The server is refusing requests to guard against brute-force attacks. |
1682 | HttpStatus: 429 | 2770 | HttpStatus: 429 |
1683 | 2771 | ||
1684 | Value: 8122 | 2772 | Value: 8123 |
1685 | Name: ANASTASIS_TRUTH_AUTH_TIMEOUT | 2773 | Name: ANASTASIS_TRUTH_CHALLENGE_WRONG_METHOD |
1686 | Description: The authentication process did not yet complete. The user should try again later. | 2774 | Description: A request to issue a challenge is not valid for this authentication method. |
1687 | HttpStatus: 408 | 2775 | HttpStatus: 400 |
1688 | |||
1689 | 2776 | ||
1690 | Value: 8150 | 2777 | Value: 8150 |
1691 | Name: ANASTASIS_TRUTH_UPLOAD_UUID_EXISTS | 2778 | Name: ANASTASIS_TRUTH_UPLOAD_UUID_EXISTS |
1692 | Description: The backend failed to store the truth because the UUID is already in use. | 2779 | Description: The backend failed to store the key share because the UUID is already in use. |
1693 | HttpStatus: 409 | 2780 | HttpStatus: 409 |
1694 | 2781 | ||
1695 | Value: 8151 | 2782 | Value: 8151 |
1696 | Name: ANASTASIS_TRUTH_UPLOAD_METHOD_NOT_SUPPORTED | 2783 | Name: ANASTASIS_TRUTH_UPLOAD_METHOD_NOT_SUPPORTED |
1697 | Description: The backend failed to store the truth because the authorization method is not supported. | 2784 | Description: The backend failed to store the key share because the authorization method is not supported. |
1698 | HttpStatus: 400 | 2785 | HttpStatus: 400 |
1699 | 2786 | ||
1700 | 2787 | ||
@@ -1702,7 +2789,7 @@ HttpStatus: 400 | |||
1702 | Value: 8200 | 2789 | Value: 8200 |
1703 | Name: ANASTASIS_SMS_PHONE_INVALID | 2790 | Name: ANASTASIS_SMS_PHONE_INVALID |
1704 | Description: The provided phone number is not an acceptable number. | 2791 | Description: The provided phone number is not an acceptable number. |
1705 | HttpStatus: 417 | 2792 | HttpStatus: 409 |
1706 | 2793 | ||
1707 | Value: 8201 | 2794 | Value: 8201 |
1708 | Name: ANASTASIS_SMS_HELPER_EXEC_FAILED | 2795 | Name: ANASTASIS_SMS_HELPER_EXEC_FAILED |
@@ -1718,7 +2805,7 @@ HttpStatus: 500 | |||
1718 | Value: 8210 | 2805 | Value: 8210 |
1719 | Name: ANASTASIS_EMAIL_INVALID | 2806 | Name: ANASTASIS_EMAIL_INVALID |
1720 | Description: The provided email address is not an acceptable address. | 2807 | Description: The provided email address is not an acceptable address. |
1721 | HttpStatus: 417 | 2808 | HttpStatus: 409 |
1722 | 2809 | ||
1723 | Value: 8211 | 2810 | Value: 8211 |
1724 | Name: ANASTASIS_EMAIL_HELPER_EXEC_FAILED | 2811 | Name: ANASTASIS_EMAIL_HELPER_EXEC_FAILED |
@@ -1734,7 +2821,7 @@ HttpStatus: 500 | |||
1734 | Value: 8220 | 2821 | Value: 8220 |
1735 | Name: ANASTASIS_POST_INVALID | 2822 | Name: ANASTASIS_POST_INVALID |
1736 | Description: The provided postal address is not an acceptable address. | 2823 | Description: The provided postal address is not an acceptable address. |
1737 | HttpStatus: 417 | 2824 | HttpStatus: 409 |
1738 | 2825 | ||
1739 | Value: 8221 | 2826 | Value: 8221 |
1740 | Name: ANASTASIS_POST_HELPER_EXEC_FAILED | 2827 | Name: ANASTASIS_POST_HELPER_EXEC_FAILED |
@@ -1750,18 +2837,23 @@ HttpStatus: 500 | |||
1750 | Value: 8230 | 2837 | Value: 8230 |
1751 | Name: ANASTASIS_IBAN_INVALID | 2838 | Name: ANASTASIS_IBAN_INVALID |
1752 | Description: The provided IBAN address is not an acceptable IBAN. | 2839 | Description: The provided IBAN address is not an acceptable IBAN. |
1753 | HttpStatus: 417 | 2840 | HttpStatus: 409 |
2841 | |||
2842 | Value: 8231 | ||
2843 | Name: ANASTASIS_IBAN_MISSING_TRANSFER | ||
2844 | Description: The provider has not yet received the IBAN wire transfer authorizing the disclosure of the key share. | ||
2845 | HttpStatus: 403 | ||
1754 | 2846 | ||
1755 | 2847 | ||
1756 | Value: 8240 | 2848 | Value: 8240 |
1757 | Name: ANASTASIS_TOTP_KEY_MISSING | 2849 | Name: ANASTASIS_TOTP_KEY_MISSING |
1758 | Description: The backend did not find a TOTP key in the data provided. | 2850 | Description: The backend did not find a TOTP key in the data provided. |
1759 | HttpStatus: 417 | 2851 | HttpStatus: 409 |
1760 | 2852 | ||
1761 | Value: 8241 | 2853 | Value: 8241 |
1762 | Name: ANASTASIS_TOTP_KEY_INVALID | 2854 | Name: ANASTASIS_TOTP_KEY_INVALID |
1763 | Description: The key provided does not satisfy the format restrictions for an Anastasis TOTP key. | 2855 | Description: The key provided does not satisfy the format restrictions for an Anastasis TOTP key. |
1764 | HttpStatus: 417 | 2856 | HttpStatus: 409 |
1765 | 2857 | ||
1766 | 2858 | ||
1767 | Value: 8301 | 2859 | Value: 8301 |
@@ -1848,7 +2940,7 @@ HttpStatus: 0 | |||
1848 | 2940 | ||
1849 | Value: 8410 | 2941 | Value: 8410 |
1850 | Name: ANASTASIS_REDUCER_POLICY_LOOKUP_FAILED | 2942 | Name: ANASTASIS_REDUCER_POLICY_LOOKUP_FAILED |
1851 | Description: Our attempts to download the recovery document failed with all providers. | 2943 | Description: Our attempts to download the recovery document failed with all providers. Most likely the personal information you entered differs from the information you provided during the backup process and you should go back to the previous step. Alternatively, if you used a backup provider that is unknown to this application, you should add that provider manually. |
1852 | HttpStatus: 0 | 2944 | HttpStatus: 0 |
1853 | 2945 | ||
1854 | Value: 8411 | 2946 | Value: 8411 |
@@ -1896,8 +2988,36 @@ Name: ANASTASIS_REDUCER_INTERNAL_ERROR | |||
1896 | Description: The reducer encountered an internal error, likely a bug that needs to be reported. | 2988 | Description: The reducer encountered an internal error, likely a bug that needs to be reported. |
1897 | HttpStatus: 0 | 2989 | HttpStatus: 0 |
1898 | 2990 | ||
2991 | Value: 8420 | ||
2992 | Name: ANASTASIS_REDUCER_PROVIDERS_ALREADY_SYNCED | ||
2993 | Description: The reducer already synchronized with all providers. | ||
2994 | HttpStatus: 0 | ||
1899 | 2995 | ||
1900 | # 9000 - 9998: LibEuFin. | 2996 | # 8500 - 8600: Frosix |
2997 | |||
2998 | # 8600 - 8700: Donau | ||
2999 | |||
3000 | Value: 8607 | ||
3001 | Name: DONAU_GENERIC_KEYS_MISSING | ||
3002 | Description: The Donau failed to perform the operation as it could not find the private keys. This is a problem with the Donau setup, not with the client's request. | ||
3003 | HttpStatus: 503 | ||
3004 | |||
3005 | Value: 8608 | ||
3006 | Name: DONAU_CHARITY_SIGNATURE_INVALID | ||
3007 | Description: The signature of the charity key is not valid. | ||
3008 | HttpStatus: 403 | ||
3009 | |||
3010 | Value: 8609 | ||
3011 | Name: DONAU_CHARITY_NOT_FOUND | ||
3012 | Description: The charity is unknown. | ||
3013 | HttpStatus: 404 | ||
3014 | |||
3015 | Value: 8610 | ||
3016 | Name: DONAU_EXCEEDING_DONATION_LIMIT | ||
3017 | Description: The donation amount specified in the request exceeds the limit of the charity. | ||
3018 | HttpStatus: 400 | ||
3019 | |||
3020 | # 9000 - 9599: LibEuFin. | ||
1901 | 3021 | ||
1902 | Value: 9000 | 3022 | Value: 9000 |
1903 | Name: LIBEUFIN_NEXUS_GENERIC_ERROR | 3023 | Name: LIBEUFIN_NEXUS_GENERIC_ERROR |
@@ -1919,7 +3039,70 @@ Name: LIBEUFIN_SANDBOX_UNCAUGHT_EXCEPTION | |||
1919 | Description: An uncaught exception happened in the LibEuFin sandbox service. | 3039 | Description: An uncaught exception happened in the LibEuFin sandbox service. |
1920 | HttpStatus: 500 | 3040 | HttpStatus: 500 |
1921 | 3041 | ||
3042 | # 9600 - 9749: Taldir | ||
3043 | Value: 9600 | ||
3044 | Name: TALDIR_METHOD_NOT_SUPPORTED | ||
3045 | Description: This validation method is not supported by the service. | ||
3046 | HttpStatus: 404 | ||
3047 | |||
3048 | Value: 9601 | ||
3049 | Name: TALDIR_REGISTER_RATE_LIMITED | ||
3050 | Description: Number of allowed attempts for initiating a challenge exceeded. | ||
3051 | HttpStatus: 429 | ||
3052 | |||
3053 | # 9750-9999: Challenger | ||
3054 | Value: 9750 | ||
3055 | Name: CHALLENGER_GENERIC_CLIENT_UNKNOWN | ||
3056 | Description: The client is unknown or unauthorized. | ||
3057 | HttpStatus: 404 | ||
3058 | |||
3059 | Value: 9751 | ||
3060 | Name: CHALLENGER_GENERIC_CLIENT_FORBIDDEN_BAD_REDIRECT_URI | ||
3061 | Description: The client is not authorized to use the given redirect URI. | ||
3062 | HttpStatus: 403 | ||
3063 | |||
3064 | Value: 9752 | ||
3065 | Name: CHALLENGER_HELPER_EXEC_FAILED | ||
3066 | Description: The service failed to execute its helper process to send the challenge. | ||
3067 | HttpStatus: 500 | ||
3068 | |||
3069 | Value: 9753 | ||
3070 | Name: CHALLENGER_GRANT_UNKNOWN | ||
3071 | Description: The grant is unknown to the service (it could also have expired). | ||
3072 | HttpStatus: 404 | ||
3073 | |||
3074 | Value: 9754 | ||
3075 | Name: CHALLENGER_CLIENT_FORBIDDEN_BAD_CODE | ||
3076 | Description: The code given is not even well-formed. | ||
3077 | HttpStatus: 403 | ||
3078 | |||
3079 | Value: 9755 | ||
3080 | Name: CHALLENGER_GENERIC_VALIDATION_UNKNOWN | ||
3081 | Description: The service is not aware of the referenced validation process. | ||
3082 | HttpStatus: 404 | ||
3083 | |||
3084 | Value: 9756 | ||
3085 | Name: CHALLENGER_CLIENT_FORBIDDEN_INVALID_CODE | ||
3086 | Description: The code given is not valid. | ||
3087 | HttpStatus: 403 | ||
3088 | |||
3089 | Value: 9757 | ||
3090 | Name: CHALLENGER_TOO_MANY_ATTEMPTS | ||
3091 | Description: Too many attempts have been made, validation is temporarily disabled for this address. | ||
3092 | HttpStatus: 429 | ||
3093 | |||
3094 | Value: 9758 | ||
3095 | Name: CHALLENGER_INVALID_PIN | ||
3096 | Description: The PIN code provided is incorrect. | ||
3097 | HttpStatus: 403 | ||
3098 | |||
3099 | Value: 9759 | ||
3100 | Name: CHALLENGER_MISSING_ADDRESS | ||
3101 | Description: The token cannot be valid as no address was ever provided by the client. | ||
3102 | HttpStatus: 409 | ||
3103 | |||
1922 | 3104 | ||
3105 | # Some of our build systems expect the range to be < 10k, so let's keep it like this for now. | ||
1923 | Value: 9999 | 3106 | Value: 9999 |
1924 | Name: END | 3107 | Name: END |
1925 | Description: End of error code range. | 3108 | Description: End of error code range. |