diff options
author | priscilla <priscilla.huang@efrei.net> | 2022-11-22 04:24:27 -0500 |
---|---|---|
committer | priscilla <priscilla.huang@efrei.net> | 2022-11-22 04:24:27 -0500 |
commit | 63c8b9963bc78dd266c66e424442e74ff05e59df (patch) | |
tree | e2147137782655689665259eb59f789f59dca7ed | |
parent | 7af7a493bc189c3423edf83478d059704f0f30af (diff) | |
download | gana-63c8b9963bc78dd266c66e424442e74ff05e59df.tar.gz gana-63c8b9963bc78dd266c66e424442e74ff05e59df.zip |
update
-rw-r--r-- | gnu-taler-error-codes/#registry.rec# | 2475 | ||||
l--------- | gnu-taler-error-codes/.#registry.rec | 1 |
2 files changed, 2476 insertions, 0 deletions
diff --git a/gnu-taler-error-codes/#registry.rec# b/gnu-taler-error-codes/#registry.rec# new file mode 100644 index 0000000..5ae95c7 --- /dev/null +++ b/gnu-taler-error-codes/#registry.rec# | |||
@@ -0,0 +1,2475 @@ | |||
1 | # -*- mode: rec -*- | ||
2 | # | ||
3 | # Registry for HTTP status codes | ||
4 | # | ||
5 | %rec: TalerErrorCode | ||
6 | %key: Value | ||
7 | %singular: Value | ||
8 | %typedef: ValueRange_t range 0 9999 | ||
9 | %constraint: ( Value < 100 ) || ( Value > 999 ) | ||
10 | %type: Value ValueRange_t | ||
11 | %mandatory: Value | ||
12 | %typedef: Description_t regexp |^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\(\)\.,;!"':#\/ -]*$| | ||
13 | %type: Description Description_t | ||
14 | %mandatory: Description | ||
15 | %typedef: Name_t regexp /^[ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789]*$/ | ||
16 | %type: Name Name_t | ||
17 | %unique: Name | ||
18 | %mandatory: Name | ||
19 | %singular: Name | ||
20 | # A status of 0 means not an HTTP status (i.e. created client-side) | ||
21 | %type: HttpStatus rec HttpStatusCode | ||
22 | %mandatory: HttpStatus | ||
23 | %sort: Value | ||
24 | |||
25 | # 0 - 99: Reserved for GENERIC error codes | ||
26 | |||
27 | Value: 0 | ||
28 | Name: NONE | ||
29 | Description: Special code to indicate success (no error). | ||
30 | HttpStatus: 0 | ||
31 | |||
32 | # We could not get the error code. | ||
33 | Value: 1 | ||
34 | Name: INVALID | ||
35 | Description: A non-integer error code was returned in the JSON response. | ||
36 | HttpStatus: 0 | ||
37 | |||
38 | Value: 2 | ||
39 | Name: GENERIC_CLIENT_INTERNAL_ERROR | ||
40 | Description: An internal failure happened on the client side. | ||
41 | HttpStatus: 0 | ||
42 | |||
43 | # Fundamental problems detected client-side (10-19) | ||
44 | |||
45 | Value: 10 | ||
46 | Name: GENERIC_INVALID_RESPONSE | ||
47 | Description: The response we got from the server was not even in JSON format. | ||
48 | HttpStatus: 0 | ||
49 | |||
50 | Value: 11 | ||
51 | Name: GENERIC_TIMEOUT | ||
52 | Description: An operation timed out. | ||
53 | HttpStatus: 0 | ||
54 | |||
55 | Value: 12 | ||
56 | Name: GENERIC_VERSION_MALFORMED | ||
57 | Description: The version string given does not follow the expected CURRENT:REVISION:AGE Format. | ||
58 | HttpStatus: 0 | ||
59 | |||
60 | Value: 13 | ||
61 | Name: GENERIC_REPLY_MALFORMED | ||
62 | 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 | HttpStatus: 0 | ||
64 | |||
65 | Value: 14 | ||
66 | Name: GENERIC_CONFIGURATION_INVALID | ||
67 | Description: There is an error in the client-side configuration, for example the base URL specified is malformed. | ||
68 | HttpStatus: 0 | ||
69 | |||
70 | Value: 15 | ||
71 | Name: GENERIC_UNEXPECTED_REQUEST_ERROR | ||
72 | Description: The client made a request to a service, but received an error response it does not know how to handle. | ||
73 | HttpStatus: 0 | ||
74 | |||
75 | # Fundamental client-side protocol problems (20-29) | ||
76 | # (fundamental: cannot be helped, client is very broken) | ||
77 | |||
78 | Value: 20 | ||
79 | Name: GENERIC_METHOD_INVALID | ||
80 | Description: The HTTP method used is invalid for this endpoint. | ||
81 | HttpStatus: 405 | ||
82 | |||
83 | Value: 21 | ||
84 | Name: GENERIC_ENDPOINT_UNKNOWN | ||
85 | Description: There is no endpoint defined for the URL provided by the client. | ||
86 | HttpStatus: 404 | ||
87 | |||
88 | Value: 22 | ||
89 | Name: GENERIC_JSON_INVALID | ||
90 | Description: The JSON in the client's request was malformed (generic parse error). | ||
91 | HttpStatus: 400 | ||
92 | |||
93 | Value: 23 | ||
94 | Name: GENERIC_HTTP_HEADERS_MALFORMED | ||
95 | Description: Some of the HTTP headers provided by the client caused the server to not be able to handle the request. | ||
96 | HttpStatus: 400 | ||
97 | |||
98 | Value: 24 | ||
99 | Name: GENERIC_PAYTO_URI_MALFORMED | ||
100 | Description: The payto:// URI provided by the client is malformed. | ||
101 | HttpStatus: 400 | ||
102 | |||
103 | Value: 25 | ||
104 | Name: GENERIC_PARAMETER_MISSING | ||
105 | Description: A required parameter in the request was missing. | ||
106 | HttpStatus: 400 | ||
107 | |||
108 | Value: 26 | ||
109 | Name: GENERIC_PARAMETER_MALFORMED | ||
110 | Description: A parameter in the request was malformed. | ||
111 | HttpStatus: 400 | ||
112 | |||
113 | Value: 27 | ||
114 | Name: GENERIC_RESERVE_PUB_MALFORMED | ||
115 | Description: The reserve public key given as part of a /reserves/ endpoint was malformed. | ||
116 | HttpStatus: 400 | ||
117 | |||
118 | |||
119 | # Circumstantial client-side protocol problems (30-39) | ||
120 | # (Circumstantial == may work with another server, but not this one) | ||
121 | |||
122 | Value: 30 | ||
123 | Name: GENERIC_CURRENCY_MISMATCH | ||
124 | Description: The currencies involved in the operation do not match. | ||
125 | HttpStatus: 400 | ||
126 | |||
127 | Value: 31 | ||
128 | Name: GENERIC_URI_TOO_LONG | ||
129 | Description: The URI is longer than the longest URI the HTTP server is willing to parse. | ||
130 | HttpStatus: 414 | ||
131 | |||
132 | Value: 32 | ||
133 | Name: GENERIC_UPLOAD_EXCEEDS_LIMIT | ||
134 | Description: The body is too large to be permissible for the endpoint. | ||
135 | HttpStatus: 413 | ||
136 | |||
137 | |||
138 | # 40-49: available for future use | ||
139 | |||
140 | |||
141 | |||
142 | # Server-side database problems (50-59) | ||
143 | |||
144 | Value: 50 | ||
145 | Name: GENERIC_DB_SETUP_FAILED | ||
146 | Description: The service failed initialize its connection to the database. | ||
147 | HttpStatus: 500 | ||
148 | |||
149 | Value: 51 | ||
150 | Name: GENERIC_DB_START_FAILED | ||
151 | Description: The service encountered an error event to just start the database transaction. | ||
152 | HttpStatus: 500 | ||
153 | |||
154 | Value: 52 | ||
155 | Name: GENERIC_DB_STORE_FAILED | ||
156 | Description: The service failed to store information in its database. | ||
157 | HttpStatus: 500 | ||
158 | |||
159 | Value: 53 | ||
160 | Name: GENERIC_DB_FETCH_FAILED | ||
161 | Description: The service failed to fetch information from its database. | ||
162 | HttpStatus: 500 | ||
163 | |||
164 | Value: 54 | ||
165 | Name: GENERIC_DB_COMMIT_FAILED | ||
166 | Description: The service encountered an error event to commit the database transaction (hard, unrecoverable error). | ||
167 | HttpStatus: 500 | ||
168 | |||
169 | Value: 55 | ||
170 | Name: GENERIC_DB_SOFT_FAILURE | ||
171 | 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.) | ||
172 | HttpStatus: 500 | ||
173 | |||
174 | Value: 56 | ||
175 | Name: GENERIC_DB_INVARIANT_FAILURE | ||
176 | Description: The service's database is inconsistent and violates service-internal invariants. | ||
177 | HttpStatus: 500 | ||
178 | |||
179 | |||
180 | # Server-side computational problems (60-69) | ||
181 | |||
182 | Value: 60 | ||
183 | Name: GENERIC_INTERNAL_INVARIANT_FAILURE | ||
184 | Description: The HTTP server experienced an internal invariant failure (bug). | ||
185 | HttpStatus: 500 | ||
186 | |||
187 | Value: 61 | ||
188 | Name: GENERIC_FAILED_COMPUTE_JSON_HASH | ||
189 | Description: The service could not compute a cryptographic hash over some JSON value. | ||
190 | HttpStatus: 500 | ||
191 | |||
192 | Value: 62 | ||
193 | Name: GENERIC_FAILED_COMPUTE_AMOUNT | ||
194 | Description: The service could not compute an amount. | ||
195 | HttpStatus: 500 | ||
196 | |||
197 | |||
198 | # Server-side resource problems (70-79) | ||
199 | |||
200 | Value: 70 | ||
201 | Name: GENERIC_PARSER_OUT_OF_MEMORY | ||
202 | Description: The HTTP server had insufficient memory to parse the request. | ||
203 | HttpStatus: 500 | ||
204 | |||
205 | Value: 71 | ||
206 | Name: GENERIC_ALLOCATION_FAILURE | ||
207 | Description: The HTTP server failed to allocate memory. | ||
208 | HttpStatus: 500 | ||
209 | |||
210 | Value: 72 | ||
211 | Name: GENERIC_JSON_ALLOCATION_FAILURE | ||
212 | Description: The HTTP server failed to allocate memory for building JSON reply. | ||
213 | HttpStatus: 500 | ||
214 | |||
215 | Value: 73 | ||
216 | Name: GENERIC_CURL_ALLOCATION_FAILURE | ||
217 | Description: The HTTP server failed to allocate memory for making a CURL request. | ||
218 | HttpStatus: 500 | ||
219 | |||
220 | Value: 74 | ||
221 | Name: GENERIC_FAILED_TO_LOAD_TEMPLATE | ||
222 | Description: The backend could not locate a required template to generate an HTML reply. | ||
223 | HttpStatus: 500 | ||
224 | |||
225 | Value: 75 | ||
226 | Name: GENERIC_FAILED_TO_EXPAND_TEMPLATE | ||
227 | Description: The backend could not expand the template to generate an HTML reply. | ||
228 | HttpStatus: 500 | ||
229 | |||
230 | |||
231 | |||
232 | # 80-99: available for future use | ||
233 | |||
234 | |||
235 | |||
236 | # 100 - 999: VERBOTEN due to confusion with HTTP status codes (at least 100-599). | ||
237 | |||
238 | # 1000 - 1999: Reserved for exchange | ||
239 | # 1000 - 1099: Reserved for EXCHANGE_GENERIC | ||
240 | |||
241 | Value: 1000 | ||
242 | Name: EXCHANGE_GENERIC_BAD_CONFIGURATION | ||
243 | Description: Exchange is badly configured and thus cannot operate. | ||
244 | HttpStatus: 500 | ||
245 | |||
246 | Value: 1001 | ||
247 | Name: EXCHANGE_GENERIC_OPERATION_UNKNOWN | ||
248 | Description: Operation specified unknown for this endpoint. | ||
249 | HttpStatus: 404 | ||
250 | |||
251 | Value: 1002 | ||
252 | Name: EXCHANGE_GENERIC_WRONG_NUMBER_OF_SEGMENTS | ||
253 | Description: The number of segments included in the URI does not match the number of segments expected by the endpoint. | ||
254 | HttpStatus: 404 | ||
255 | |||
256 | Value: 1003 | ||
257 | Name: EXCHANGE_GENERIC_COIN_CONFLICTING_DENOMINATION_KEY | ||
258 | Description: The same coin was already used with a different denomination previously. | ||
259 | HttpStatus: 409 | ||
260 | |||
261 | Value: 1004 | ||
262 | Name: EXCHANGE_GENERIC_COINS_INVALID_COIN_PUB | ||
263 | Description: The public key of given to a "/coins/" endpoint of the exchange was malformed. | ||
264 | HttpStatus: 400 | ||
265 | |||
266 | Value: 1005 | ||
267 | Name: EXCHANGE_GENERIC_DENOMINATION_KEY_UNKNOWN | ||
268 | Description: The exchange is not aware of the denomination key the wallet requested for the operation. | ||
269 | HttpStatus: 404 | ||
270 | |||
271 | Value: 1006 | ||
272 | Name: EXCHANGE_DENOMINATION_SIGNATURE_INVALID | ||
273 | Description: The signature of the denomination key over the coin is not valid. | ||
274 | HttpStatus: 403 | ||
275 | |||
276 | Value: 1007 | ||
277 | Name: EXCHANGE_GENERIC_KEYS_MISSING | ||
278 | 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. | ||
279 | HttpStatus: 503 | ||
280 | |||
281 | Value: 1008 | ||
282 | Name: EXCHANGE_GENERIC_DENOMINATION_VALIDITY_IN_FUTURE | ||
283 | Description: Validity period of the denomination lies in the future. | ||
284 | HttpStatus: 412 | ||
285 | |||
286 | Value: 1009 | ||
287 | Name: EXCHANGE_GENERIC_DENOMINATION_EXPIRED | ||
288 | Description: Denomination key of the coin is past its expiration time for the requested operation. | ||
289 | HttpStatus: 410 | ||
290 | |||
291 | Value: 1010 | ||
292 | Name: EXCHANGE_GENERIC_DENOMINATION_REVOKED | ||
293 | Description: Denomination key of the coin has been revoked. | ||
294 | HttpStatus: 410 | ||
295 | |||
296 | Value: 1011 | ||
297 | Name: EXCHANGE_GENERIC_SECMOD_TIMEOUT | ||
298 | Description: An operation where the exchange interacted with a security module timed out. | ||
299 | HttpStatus: 500 | ||
300 | |||
301 | Value: 1012 | ||
302 | Name: EXCHANGE_GENERIC_INSUFFICIENT_FUNDS | ||
303 | 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". | ||
304 | HttpStatus: 409 | ||
305 | |||
306 | Value: 1013 | ||
307 | Name: EXCHANGE_GENERIC_COIN_HISTORY_COMPUTATION_FAILED | ||
308 | Description: The exchange had an internal error reconstructing the transaction history of the coin that was being processed. | ||
309 | HttpStatus: 500 | ||
310 | |||
311 | Value: 1014 | ||
312 | Name: EXCHANGE_GENERIC_HISTORY_DB_ERROR_INSUFFICIENT_FUNDS | ||
313 | Description: The exchange failed to obtain the transaction history of the given coin from the database while generating an insufficient funds errors. | ||
314 | HttpStatus: 500 | ||
315 | |||
316 | Value: 1015 | ||
317 | Name: EXCHANGE_GENERIC_COIN_CONFLICTING_AGE_HASH | ||
318 | Description: The same coin was already used with a different age hash previously. | ||
319 | HttpStatus: 409 | ||
320 | |||
321 | Value: 1016 | ||
322 | Name: EXCHANGE_GENERIC_INVALID_DENOMINATION_CIPHER_FOR_OPERATION | ||
323 | Description: The requested operation is not valid for the cipher used by the selected denomination. | ||
324 | HttpStatus: 400 | ||
325 | |||
326 | Value: 1017 | ||
327 | Name: EXCHANGE_GENERIC_CIPHER_MISMATCH | ||
328 | Description: The provided arguments for the operation use inconsistent ciphers. | ||
329 | HttpStatus: 400 | ||
330 | |||
331 | Value: 1018 | ||
332 | Name: EXCHANGE_GENERIC_NEW_DENOMS_ARRAY_SIZE_EXCESSIVE | ||
333 | Description: The number of denominations specified in the request exceeds the limit of the exchange. | ||
334 | HttpStatus: 400 | ||
335 | |||
336 | Value: 1020 | ||
337 | Name: EXCHANGE_GENERIC_CLOCK_SKEW | ||
338 | 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. | ||
339 | HttpStatus: 400 | ||
340 | |||
341 | Value: 1021 | ||
342 | Name: EXCHANGE_GENERIC_AMOUNT_EXCEEDS_DENOMINATION_VALUE | ||
343 | Description: The specified amount for the coin is higher than the value of the denomination of the coin. | ||
344 | HttpStatus: 400 | ||
345 | |||
346 | Value: 1022 | ||
347 | Name: EXCHANGE_GENERIC_GLOBAL_FEES_MISSING | ||
348 | Description: The exchange was not properly configured with global fees. | ||
349 | HttpStatus: 500 | ||
350 | |||
351 | Value: 1023 | ||
352 | Name: EXCHANGE_GENERIC_WIRE_FEES_MISSING | ||
353 | Description: The exchange was not properly configured with wire fees. | ||
354 | HttpStatus: 500 | ||
355 | |||
356 | Value: 1024 | ||
357 | Name: EXCHANGE_GENERIC_PURSE_PUB_MALFORMED | ||
358 | Description: The purse public key was malformed. | ||
359 | HttpStatus: 400 | ||
360 | |||
361 | Value: 1025 | ||
362 | Name: EXCHANGE_GENERIC_PURSE_UNKNOWN | ||
363 | Description: The purse is unknown. | ||
364 | HttpStatus: 404 | ||
365 | |||
366 | Value: 1026 | ||
367 | Name: EXCHANGE_GENERIC_PURSE_EXPIRED | ||
368 | Description: The purse has expired. | ||
369 | HttpStatus: 410 | ||
370 | |||
371 | Value: 1027 | ||
372 | Name: EXCHANGE_GENERIC_RESERVE_UNKNOWN | ||
373 | Description: The exchange has no information about the "reserve_pub" that was given. | ||
374 | HttpStatus: 404 | ||
375 | |||
376 | Value: 1028 | ||
377 | Name: EXCHANGE_GENERIC_KYC_REQUIRED | ||
378 | Description: The exchange is not allowed to proceed with the operation until the client has satisfied a KYC check. | ||
379 | HttpStatus: 451 | ||
380 | |||
381 | Value: 1029 | ||
382 | Name: EXCHANGE_PURSE_DEPOSIT_COIN_CONFLICTING_ATTEST_VS_AGE_COMMITMENT | ||
383 | Description: Inconsistency between provided age commitment and attest: either none or both must be provided | ||
384 | HttpStatus: 400 | ||
385 | |||
386 | Value: 1030 | ||
387 | Name: EXCHANGE_PURSE_DEPOSIT_COIN_AGE_ATTESTATION_FAILURE | ||
388 | Description: The provided attestation for the minimum age couldn't be verified by the exchange. | ||
389 | HttpStatus: 400 | ||
390 | |||
391 | |||
392 | Value: 1100 | ||
393 | Name: EXCHANGE_DEPOSITS_GET_NOT_FOUND | ||
394 | Description: The exchange did not find information about the specified transaction in the database. | ||
395 | HttpStatus: 404 | ||
396 | |||
397 | Value: 1101 | ||
398 | Name: EXCHANGE_DEPOSITS_GET_INVALID_H_WIRE | ||
399 | Description: The wire hash of given to a "/deposits/" handler was malformed. | ||
400 | HttpStatus: 400 | ||
401 | |||
402 | Value: 1102 | ||
403 | Name: EXCHANGE_DEPOSITS_GET_INVALID_MERCHANT_PUB | ||
404 | Description: The merchant key of given to a "/deposits/" handler was malformed. | ||
405 | HttpStatus: 400 | ||
406 | |||
407 | Value: 1103 | ||
408 | Name: EXCHANGE_DEPOSITS_GET_INVALID_H_CONTRACT_TERMS | ||
409 | Description: The hash of the contract terms given to a "/deposits/" handler was malformed. | ||
410 | HttpStatus: 400 | ||
411 | |||
412 | Value: 1104 | ||
413 | Name: EXCHANGE_DEPOSITS_GET_INVALID_COIN_PUB | ||
414 | Description: The coin public key of given to a "/deposits/" handler was malformed. | ||
415 | HttpStatus: 400 | ||
416 | |||
417 | Value: 1105 | ||
418 | Name: EXCHANGE_DEPOSITS_GET_INVALID_SIGNATURE_BY_EXCHANGE | ||
419 | Description: The signature returned by the exchange in a /deposits/ request was malformed. | ||
420 | HttpStatus: 0 | ||
421 | |||
422 | Value: 1106 | ||
423 | Name: EXCHANGE_DEPOSITS_GET_MERCHANT_SIGNATURE_INVALID | ||
424 | Description: The signature of the merchant is invalid. | ||
425 | HttpStatus: 403 | ||
426 | |||
427 | Value: 1107 | ||
428 | Name: EXCHANGE_DEPOSITS_POLICY_NOT_ACCEPTED | ||
429 | Description: The provided policy data was not accepted | ||
430 | HttpStatus: 400 | ||
431 | |||
432 | Value: 1150 | ||
433 | Name: EXCHANGE_WITHDRAW_INSUFFICIENT_FUNDS | ||
434 | 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. | ||
435 | HttpStatus: 409 | ||
436 | |||
437 | |||
438 | Value: 1152 | ||
439 | Name: EXCHANGE_WITHDRAW_AMOUNT_FEE_OVERFLOW | ||
440 | Description: The amount to withdraw together with the fee exceeds the numeric range for Taler amounts. This is not a client failure, as the coin value and fees come from the exchange's configuration. | ||
441 | HttpStatus: 500 | ||
442 | |||
443 | Value: 1153 | ||
444 | Name: EXCHANGE_WITHDRAW_SIGNATURE_FAILED | ||
445 | Description: The exchange failed to create the signature using the denomination key. | ||
446 | HttpStatus: 500 | ||
447 | |||
448 | Value: 1154 | ||
449 | Name: EXCHANGE_WITHDRAW_RESERVE_SIGNATURE_INVALID | ||
450 | Description: The signature of the reserve is not valid. | ||
451 | HttpStatus: 403 | ||
452 | |||
453 | Value: 1155 | ||
454 | Name: EXCHANGE_RESERVE_HISTORY_ERROR_INSUFFICIENT_FUNDS | ||
455 | Description: When computing the reserve history, we ended up with a negative overall balance, which should be impossible. | ||
456 | HttpStatus: 500 | ||
457 | |||
458 | Value: 1156 | ||
459 | Name: EXCHANGE_GET_RESERVE_HISTORY_ERROR_INSUFFICIENT_BALANCE | ||
460 | Description: The reserve did not have sufficient funds in it to pay for a full reserve history statement. | ||
461 | HttpStatus: 409 | ||
462 | |||
463 | Value: 1158 | ||
464 | Name: EXCHANGE_WITHDRAW_DENOMINATION_KEY_LOST | ||
465 | Description: Withdraw period of the coin to be withdrawn is in the past. | ||
466 | HttpStatus: 410 | ||
467 | |||
468 | Value: 1159 | ||
469 | Name: EXCHANGE_WITHDRAW_UNBLIND_FAILURE | ||
470 | Description: The client failed to unblind the blind signature. | ||
471 | HttpStatus: 0 | ||
472 | |||
473 | Value: 1160 | ||
474 | Name: EXCHANGE_WITHDRAW_NONCE_REUSE | ||
475 | Description: The client re-used a withdraw nonce, which is not allowed. | ||
476 | HttpStatus: 409 | ||
477 | |||
478 | Value: 1175 | ||
479 | Name: EXCHANGE_WITHDRAW_BATCH_IDEMPOTENT_PLANCHET | ||
480 | Description: The batch withdraw included a planchet that was already withdrawn. This is not allowed. | ||
481 | HttpStatus: 409 | ||
482 | |||
483 | Value: 1205 | ||
484 | Name: EXCHANGE_DEPOSIT_COIN_SIGNATURE_INVALID | ||
485 | Description: The signature made by the coin over the deposit permission is not valid. | ||
486 | HttpStatus: 403 | ||
487 | |||
488 | Value: 1206 | ||
489 | Name: EXCHANGE_DEPOSIT_CONFLICTING_CONTRACT | ||
490 | Description: The same coin was already deposited for the same merchant and contract with other details. | ||
491 | HttpStatus: 409 | ||
492 | |||
493 | Value: 1207 | ||
494 | Name: EXCHANGE_DEPOSIT_NEGATIVE_VALUE_AFTER_FEE | ||
495 | Description: The stated value of the coin after the deposit fee is subtracted would be negative. | ||
496 | HttpStatus: 400 | ||
497 | |||
498 | Value: 1208 | ||
499 | Name: EXCHANGE_DEPOSIT_REFUND_DEADLINE_AFTER_WIRE_DEADLINE | ||
500 | Description: The stated refund deadline is after the wire deadline. | ||
501 | HttpStatus: 400 | ||
502 | |||
503 | Value: 1209 | ||
504 | Name: EXCHANGE_DEPOSIT_WIRE_DEADLINE_IS_NEVER | ||
505 | Description: The stated wire deadline is "never", which makes no sense. | ||
506 | HttpStatus: 400 | ||
507 | |||
508 | Value: 1210 | ||
509 | Name: EXCHANGE_DEPOSIT_INVALID_WIRE_FORMAT_JSON | ||
510 | 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. | ||
511 | HttpStatus: 400 | ||
512 | |||
513 | Value: 1211 | ||
514 | Name: EXCHANGE_DEPOSIT_INVALID_WIRE_FORMAT_CONTRACT_HASH_CONFLICT | ||
515 | Description: The hash of the given wire address does not match the wire hash specified in the proposal data. | ||
516 | HttpStatus: 400 | ||
517 | |||
518 | Value: 1221 | ||
519 | Name: EXCHANGE_DEPOSIT_INVALID_SIGNATURE_BY_EXCHANGE | ||
520 | Description: The signature provided by the exchange is not valid. | ||
521 | HttpStatus: 0 | ||
522 | |||
523 | Value: 1222 | ||
524 | Name: EXCHANGE_DEPOSIT_FEE_ABOVE_AMOUNT | ||
525 | Description: The deposited amount is smaller than the deposit fee, which would result in a negative contribution. | ||
526 | HttpStatus: 400 | ||
527 | |||
528 | |||
529 | Value: 1240 | ||
530 | Name: EXCHANGE_EXTENSIONS_INVALID_FULFILLMENT | ||
531 | Description: The proof of policy fulfillment was invalid. | ||
532 | HttpStatus: 400 | ||
533 | |||
534 | |||
535 | Value: 1250 | ||
536 | Name: EXCHANGE_RESERVES_STATUS_UNKNOWN | ||
537 | Description: The reserve balance, status or history was requested for a reserve which is not known to the exchange. | ||
538 | HttpStatus: 404 | ||
539 | |||
540 | Value: 1251 | ||
541 | Name: EXCHANGE_RESERVES_STATUS_BAD_SIGNATURE | ||
542 | Description: The reserve status was requested with a bad signature. | ||
543 | HttpStatus: 403 | ||
544 | |||
545 | Value: 1252 | ||
546 | Name: EXCHANGE_RESERVES_HISTORY_BAD_SIGNATURE | ||
547 | Description: The reserve history was requested with a bad signature. | ||
548 | HttpStatus: 403 | ||
549 | |||
550 | |||
551 | Value: 1302 | ||
552 | Name: EXCHANGE_MELT_FEES_EXCEED_CONTRIBUTION | ||
553 | Description: The exchange encountered melt fees exceeding the melted coin's contribution. | ||
554 | HttpStatus: 400 | ||
555 | |||
556 | Value: 1303 | ||
557 | Name: EXCHANGE_MELT_COIN_SIGNATURE_INVALID | ||
558 | Description: The signature made with the coin to be melted is invalid. | ||
559 | HttpStatus: 403 | ||
560 | |||
561 | Value: 1305 | ||
562 | Name: EXCHANGE_MELT_COIN_EXPIRED_NO_ZOMBIE | ||
563 | 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). | ||
564 | HttpStatus: 400 | ||
565 | |||
566 | Value: 1306 | ||
567 | Name: EXCHANGE_MELT_INVALID_SIGNATURE_BY_EXCHANGE | ||
568 | Description: The signature returned by the exchange in a melt request was malformed. | ||
569 | HttpStatus: 0 | ||
570 | |||
571 | |||
572 | Value: 1353 | ||
573 | Name: EXCHANGE_REFRESHES_REVEAL_COMMITMENT_VIOLATION | ||
574 | Description: The provided transfer keys do not match up with the original commitment. Information about the original commitment is included in the response. | ||
575 | HttpStatus: 409 | ||
576 | |||
577 | Value: 1354 | ||
578 | Name: EXCHANGE_REFRESHES_REVEAL_SIGNING_ERROR | ||
579 | Description: Failed to produce the blinded signatures over the coins to be returned. | ||
580 | HttpStatus: 500 | ||
581 | |||
582 | Value: 1355 | ||
583 | Name: EXCHANGE_REFRESHES_REVEAL_SESSION_UNKNOWN | ||
584 | Description: The exchange is unaware of the refresh session specified in the request. | ||
585 | HttpStatus: 404 | ||
586 | |||
587 | Value: 1356 | ||
588 | Name: EXCHANGE_REFRESHES_REVEAL_CNC_TRANSFER_ARRAY_SIZE_INVALID | ||
589 | Description: The size of the cut-and-choose dimension of the private transfer keys request does not match #TALER_CNC_KAPPA - 1. | ||
590 | HttpStatus: 400 | ||
591 | |||
592 | Value: 1358 | ||
593 | Name: EXCHANGE_REFRESHES_REVEAL_NEW_DENOMS_ARRAY_SIZE_MISMATCH | ||
594 | Description: The number of envelopes given does not match the number of denomination keys given. | ||
595 | HttpStatus: 400 | ||
596 | |||
597 | Value: 1359 | ||
598 | Name: EXCHANGE_REFRESHES_REVEAL_COST_CALCULATION_OVERFLOW | ||
599 | Description: The exchange encountered a numeric overflow totaling up the cost for the refresh operation. | ||
600 | HttpStatus: 500 | ||
601 | |||
602 | Value: 1360 | ||
603 | Name: EXCHANGE_REFRESHES_REVEAL_AMOUNT_INSUFFICIENT | ||
604 | Description: The exchange's cost calculation shows that the melt amount is below the costs of the transaction. | ||
605 | HttpStatus: 400 | ||
606 | |||
607 | Value: 1361 | ||
608 | Name: EXCHANGE_REFRESHES_REVEAL_LINK_SIGNATURE_INVALID | ||
609 | Description: The signature made with the coin over the link data is invalid. | ||
610 | HttpStatus: 403 | ||
611 | |||
612 | Value: 1362 | ||
613 | Name: EXCHANGE_REFRESHES_REVEAL_INVALID_RCH | ||
614 | Description: The refresh session hash given to a /refreshes/ handler was malformed. | ||
615 | HttpStatus: 400 | ||
616 | |||
617 | Value: 1363 | ||
618 | Name: EXCHANGE_REFRESHES_REVEAL_OPERATION_INVALID | ||
619 | Description: Operation specified invalid for this endpoint. | ||
620 | HttpStatus: 400 | ||
621 | |||
622 | Value: 1364 | ||
623 | Name: EXCHANGE_REFRESHES_REVEAL_AGE_RESTRICTION_NOT_SUPPORTED | ||
624 | Description: The client provided age commitment data, but age restriction is not supported on this server. | ||
625 | HttpStatus: 400 | ||
626 | |||
627 | Value: 1365 | ||
628 | Name: EXCHANGE_REFRESHES_REVEAL_AGE_RESTRICTION_COMMITMENT_INVALID | ||
629 | Description: The client provided invalid age commitment data: missing, not an array, or array of invalid size. | ||
630 | HttpStatus: 400 | ||
631 | |||
632 | |||
633 | Value: 1400 | ||
634 | Name: EXCHANGE_LINK_COIN_UNKNOWN | ||
635 | Description: The coin specified in the link request is unknown to the exchange. | ||
636 | HttpStatus: 404 | ||
637 | |||
638 | Value: 1450 | ||
639 | Name: EXCHANGE_TRANSFERS_GET_WTID_MALFORMED | ||
640 | Description: The public key of given to a /transfers/ handler was malformed. | ||
641 | HttpStatus: 400 | ||
642 | |||
643 | Value: 1451 | ||
644 | Name: EXCHANGE_TRANSFERS_GET_WTID_NOT_FOUND | ||
645 | Description: The exchange did not find information about the specified wire transfer identifier in the database. | ||
646 | HttpStatus: 404 | ||
647 | |||
648 | Value: 1452 | ||
649 | Name: EXCHANGE_TRANSFERS_GET_WIRE_FEE_NOT_FOUND | ||
650 | Description: The exchange did not find information about the wire transfer fees it charged. | ||
651 | HttpStatus: 500 | ||
652 | |||
653 | Value: 1453 | ||
654 | Name: EXCHANGE_TRANSFERS_GET_WIRE_FEE_INCONSISTENT | ||
655 | Description: The exchange found a wire fee that was above the total transfer value (and thus could not have been charged). | ||
656 | HttpStatus: 500 | ||
657 | |||
658 | Value: 1475 | ||
659 | Name: EXCHANGE_PURSES_INVALID_WAIT_TARGET | ||
660 | Description: The wait target of the URL was not in the set of expected values. | ||
661 | HttpStatus: 400 | ||
662 | |||
663 | Value: 1476 | ||
664 | Name: EXCHANGE_PURSES_GET_INVALID_SIGNATURE_BY_EXCHANGE | ||
665 | Description: The signature on the purse status returned by the exchange was invalid. | ||
666 | HttpStatus: 0 | ||
667 | |||
668 | |||
669 | Value: 1500 | ||
670 | Name: EXCHANGE_REFUND_COIN_NOT_FOUND | ||
671 | Description: The exchange knows literally nothing about the coin we were asked to refund. But without a transaction history, we cannot issue a refund. This is kind-of OK, the owner should just refresh it directly without executing the refund. | ||
672 | HttpStatus: 404 | ||
673 | |||
674 | Value: 1501 | ||
675 | Name: EXCHANGE_REFUND_CONFLICT_DEPOSIT_INSUFFICIENT | ||
676 | Description: We could not process the refund request as the coin's transaction history does not permit the requested refund because then refunds would exceed the deposit amount. The "history" in the response proves this. | ||
677 | HttpStatus: 409 | ||
678 | |||
679 | Value: 1502 | ||
680 | Name: EXCHANGE_REFUND_DEPOSIT_NOT_FOUND | ||
681 | Description: The exchange knows about the coin we were asked to refund, but not about the specific /deposit operation. Hence, we cannot issue a refund (as we do not know if this merchant public key is authorized to do a refund). | ||
682 | HttpStatus: 404 | ||
683 | |||
684 | Value: 1503 | ||
685 | Name: EXCHANGE_REFUND_MERCHANT_ALREADY_PAID | ||
686 | Description: The exchange can no longer refund the customer/coin as the money was already transferred (paid out) to the merchant. (It should be past the refund deadline.) | ||
687 | HttpStatus: 410 | ||
688 | |||
689 | Value: 1504 | ||
690 | Name: EXCHANGE_REFUND_FEE_TOO_LOW | ||
691 | Description: The refund fee specified for the request is lower than the refund fee charged by the exchange for the given denomination key of the refunded coin. | ||
692 | HttpStatus: 400 | ||
693 | |||
694 | Value: 1505 | ||
695 | Name: EXCHANGE_REFUND_FEE_ABOVE_AMOUNT | ||
696 | Description: The refunded amount is smaller than the refund fee, which would result in a negative refund. | ||
697 | HttpStatus: 400 | ||
698 | |||
699 | Value: 1506 | ||
700 | Name: EXCHANGE_REFUND_MERCHANT_SIGNATURE_INVALID | ||
701 | Description: The signature of the merchant is invalid. | ||
702 | HttpStatus: 403 | ||
703 | |||
704 | Value: 1507 | ||
705 | Name: EXCHANGE_REFUND_MERCHANT_SIGNING_FAILED | ||
706 | Description: Merchant backend failed to create the refund confirmation signature. | ||
707 | HttpStatus: 500 | ||
708 | |||
709 | Value: 1508 | ||
710 | Name: EXCHANGE_REFUND_INVALID_SIGNATURE_BY_EXCHANGE | ||
711 | Description: The signature returned by the exchange in a refund request was malformed. | ||
712 | HttpStatus: 0 | ||
713 | |||
714 | Value: 1509 | ||
715 | Name: EXCHANGE_REFUND_INVALID_FAILURE_PROOF_BY_EXCHANGE | ||
716 | Description: The failure proof returned by the exchange is incorrect. | ||
717 | HttpStatus: 0 | ||
718 | |||
719 | Value: 1510 | ||
720 | Name: EXCHANGE_REFUND_INCONSISTENT_AMOUNT | ||
721 | Description: Conflicting refund granted before with different amount but same refund transaction ID. | ||
722 | HttpStatus: 424 | ||
723 | |||
724 | Value: 1550 | ||
725 | Name: EXCHANGE_RECOUP_SIGNATURE_INVALID | ||
726 | Description: The given coin signature is invalid for the request. | ||
727 | HttpStatus: 403 | ||
728 | |||
729 | Value: 1551 | ||
730 | Name: EXCHANGE_RECOUP_WITHDRAW_NOT_FOUND | ||
731 | Description: The exchange could not find the corresponding withdraw operation. The request is denied. | ||
732 | HttpStatus: 404 | ||
733 | |||
734 | Value: 1552 | ||
735 | Name: EXCHANGE_RECOUP_COIN_BALANCE_ZERO | ||
736 | Description: The coin's remaining balance is zero. The request is denied. | ||
737 | HttpStatus: 403 | ||
738 | Note: dead in latest cde | ||
739 | |||
740 | Value: 1553 | ||
741 | Name: EXCHANGE_RECOUP_BLINDING_FAILED | ||
742 | Description: The exchange failed to reproduce the coin's blinding. | ||
743 | HttpStatus: 500 | ||
744 | |||
745 | Value: 1554 | ||
746 | Name: EXCHANGE_RECOUP_COIN_BALANCE_NEGATIVE | ||
747 | Description: The coin's remaining balance is zero. The request is denied. | ||
748 | HttpStatus: 500 | ||
749 | Note: dead in latest cde | ||
750 | |||
751 | Value: 1555 | ||
752 | Name: EXCHANGE_RECOUP_NOT_ELIGIBLE | ||
753 | Description: The coin's denomination has not been revoked yet. | ||
754 | HttpStatus: 404 | ||
755 | |||
756 | Value: 1575 | ||
757 | Name: EXCHANGE_RECOUP_REFRESH_SIGNATURE_INVALID | ||
758 | Description: The given coin signature is invalid for the request. | ||
759 | HttpStatus: 403 | ||
760 | |||
761 | Value: 1576 | ||
762 | Name: EXCHANGE_RECOUP_REFRESH_MELT_NOT_FOUND | ||
763 | Description: The exchange could not find the corresponding melt operation. The request is denied. | ||
764 | HttpStatus: 404 | ||
765 | |||
766 | Value: 1578 | ||
767 | Name: EXCHANGE_RECOUP_REFRESH_BLINDING_FAILED | ||
768 | Description: The exchange failed to reproduce the coin's blinding. | ||
769 | HttpStatus: 500 | ||
770 | |||
771 | Value: 1580 | ||
772 | Name: EXCHANGE_RECOUP_REFRESH_NOT_ELIGIBLE | ||
773 | Description: The coin's denomination has not been revoked yet. | ||
774 | HttpStatus: 404 | ||
775 | |||
776 | |||
777 | Value: 1600 | ||
778 | Name: EXCHANGE_KEYS_TIMETRAVEL_FORBIDDEN | ||
779 | Description: This exchange does not allow clients to request /keys for times other than the current (exchange) time. | ||
780 | HttpStatus: 403 | ||
781 | |||
782 | Value: 1650 | ||
783 | Name: EXCHANGE_WIRE_SIGNATURE_INVALID | ||
784 | Description: A signature in the server's response was malformed. | ||
785 | HttpStatus: 0 | ||
786 | |||
787 | Value: 1651 | ||
788 | Name: EXCHANGE_WIRE_NO_ACCOUNTS_CONFIGURED | ||
789 | Description: No bank accounts are enabled for the exchange. The administrator should enable-account using the taler-exchange-offline tool. | ||
790 | HttpStatus: 500 | ||
791 | |||
792 | Value: 1652 | ||
793 | Name: EXCHANGE_WIRE_INVALID_PAYTO_CONFIGURED | ||
794 | Description: The payto:// URI stored in the exchange database for its bank account is malformed. | ||
795 | HttpStatus: 500 | ||
796 | |||
797 | Value: 1653 | ||
798 | Name: EXCHANGE_WIRE_FEES_NOT_CONFIGURED | ||
799 | Description: No wire fees are configured for an enabled wire method of the exchange. The administrator must set the wire-fee using the taler-exchange-offline tool. | ||
800 | HttpStatus: 500 | ||
801 | |||
802 | |||
803 | Value: 1675 | ||
804 | Name: EXCHANGE_RESERVES_PURSE_CREATE_CONFLICTING_META_DATA | ||
805 | Description: This purse was previously created with different meta data. | ||
806 | HttpStatus: 409 | ||
807 | |||
808 | Value: 1676 | ||
809 | Name: EXCHANGE_RESERVES_PURSE_MERGE_CONFLICTING_META_DATA | ||
810 | Description: This purse was previously merged with different meta data. | ||
811 | HttpStatus: 409 | ||
812 | |||
813 | Value: 1677 | ||
814 | Name: EXCHANGE_RESERVES_PURSE_CREATE_INSUFFICIENT_FUNDS | ||
815 | Description: The reserve has insufficient funds to create another purse. | ||
816 | HttpStatus: 409 | ||
817 | |||
818 | Value: 1678 | ||
819 | Name: EXCHANGE_RESERVES_PURSE_FEE_TOO_LOW | ||
820 | Description: The purse fee specified for the request is lower than the purse fee charged by the exchange at this time. | ||
821 | HttpStatus: 400 | ||
822 | |||
823 | |||
824 | Value: 1700 | ||
825 | Name: EXCHANGE_DENOMINATION_HELPER_UNAVAILABLE | ||
826 | Description: The exchange failed to talk to the process responsible for its private denomination keys. | ||
827 | HttpStatus: 500 | ||
828 | |||
829 | Value: 1701 | ||
830 | Name: EXCHANGE_DENOMINATION_HELPER_BUG | ||
831 | Description: The response from the denomination key helper process was malformed. | ||
832 | HttpStatus: 500 | ||
833 | |||
834 | Value: 1702 | ||
835 | Name: EXCHANGE_DENOMINATION_HELPER_TOO_EARLY | ||
836 | Description: The helper refuses to sign with the key, because it is too early: the validity period has not yet started. | ||
837 | HttpStatus: 400 | ||
838 | |||
839 | Value: 1725 | ||
840 | Name: EXCHANGE_PURSE_DEPOSIT_EXCHANGE_SIGNATURE_INVALID | ||
841 | Description: The signature of the exchange on the reply was invalid. | ||
842 | HttpStatus: 0 | ||
843 | |||
844 | |||
845 | Value: 1750 | ||
846 | Name: EXCHANGE_SIGNKEY_HELPER_UNAVAILABLE | ||
847 | Description: The exchange failed to talk to the process responsible for its private signing keys. | ||
848 | HttpStatus: 500 | ||
849 | |||
850 | Value: 1751 | ||
851 | Name: EXCHANGE_SIGNKEY_HELPER_BUG | ||
852 | Description: The response from the online signing key helper process was malformed. | ||
853 | HttpStatus: 500 | ||
854 | |||
855 | Value: 1752 | ||
856 | Name: EXCHANGE_SIGNKEY_HELPER_TOO_EARLY | ||
857 | Description: The helper refuses to sign with the key, because it is too early: the validity period has not yet started. | ||
858 | HttpStatus: 400 | ||
859 | |||
860 | |||
861 | Value: 1775 | ||
862 | Name: EXCHANGE_RESERVES_PURSE_EXPIRATION_BEFORE_NOW | ||
863 | Description: The purse expiration time is in the past at the time of its creation. | ||
864 | HttpStatus: 400 | ||
865 | |||
866 | Value: 1776 | ||
867 | Name: EXCHANGE_RESERVES_PURSE_EXPIRATION_IS_NEVER | ||
868 | Description: The purse expiration time is set to never, which is not allowed. | ||
869 | HttpStatus: 400 | ||
870 | |||
871 | Value: 1777 | ||
872 | Name: EXCHANGE_RESERVES_PURSE_MERGE_SIGNATURE_INVALID | ||
873 | Description: The signature affirming the merge of the purse is invalid. | ||
874 | HttpStatus: 403 | ||
875 | |||
876 | Value: 1778 | ||
877 | Name: EXCHANGE_RESERVES_RESERVE_MERGE_SIGNATURE_INVALID | ||
878 | Description: The signature by the reserve affirming the merge is invalid. | ||
879 | HttpStatus: 403 | ||
880 | |||
881 | Value: 1785 | ||
882 | Name: EXCHANGE_RESERVES_OPEN_BAD_SIGNATURE | ||
883 | Description: The signature by the reserve affirming the open operation is invalid. | ||
884 | HttpStatus: 403 | ||
885 | |||
886 | Value: 1786 | ||
887 | Name: EXCHANGE_RESERVES_CLOSE_BAD_SIGNATURE | ||
888 | Description: The signature by the reserve affirming the close operation is invalid. | ||
889 | HttpStatus: 403 | ||
890 | |||
891 | Value: 1787 | ||
892 | Name: EXCHANGE_RESERVES_ATTEST_BAD_SIGNATURE | ||
893 | Description: The signature by the reserve affirming the attestion request is invalid. | ||
894 | HttpStatus: 403 | ||
895 | |||
896 | Value: 1788 | ||
897 | Name: EXCHANGE_RESERVES_CLOSE_NO_TARGET_ACCOUNT | ||
898 | 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. | ||
899 | HttpStatus: 409 | ||
900 | |||
901 | Value: 1789 | ||
902 | Name: EXCHANGE_RESERVES_OPEN_INSUFFICIENT_FUNDS | ||
903 | Description: The reserve balance is insufficient to pay for the open operation. | ||
904 | HttpStatus: 409 | ||
905 | |||
906 | Value: 1800 | ||
907 | Name: EXCHANGE_MANAGEMENT_AUDITOR_NOT_FOUND | ||
908 | Description: The auditor that was supposed to be disabled is unknown to this exchange. | ||
909 | HttpStatus: 404 | ||
910 | |||
911 | Value: 1801 | ||
912 | Name: EXCHANGE_MANAGEMENT_AUDITOR_MORE_RECENT_PRESENT | ||
913 | Description: The exchange has a more recently signed conflicting instruction and is thus refusing the current change (replay detected). | ||
914 | HttpStatus: 409 | ||
915 | |||
916 | Value: 1802 | ||
917 | Name: EXCHANGE_MANAGEMENT_AUDITOR_ADD_SIGNATURE_INVALID | ||
918 | Description: The signature to add or enable the auditor does not validate. | ||
919 | HttpStatus: 403 | ||
920 | |||
921 | Value: 1803 | ||
922 | Name: EXCHANGE_MANAGEMENT_AUDITOR_DEL_SIGNATURE_INVALID | ||
923 | Description: The signature to disable the auditor does not validate. | ||
924 | HttpStatus: 403 | ||
925 | |||
926 | Value: 1804 | ||
927 | Name: EXCHANGE_MANAGEMENT_DENOMINATION_REVOKE_SIGNATURE_INVALID | ||
928 | Description: The signature to revoke the denomination does not validate. | ||
929 | HttpStatus: 403 | ||
930 | |||
931 | Value: 1805 | ||
932 | Name: EXCHANGE_MANAGEMENT_SIGNKEY_REVOKE_SIGNATURE_INVALID | ||
933 | Description: The signature to revoke the online signing key does not validate. | ||
934 | HttpStatus: 403 | ||
935 | |||
936 | Value: 1806 | ||
937 | Name: EXCHANGE_MANAGEMENT_WIRE_MORE_RECENT_PRESENT | ||
938 | Description: The exchange has a more recently signed conflicting instruction and is thus refusing the current change (replay detected). | ||
939 | HttpStatus: 409 | ||
940 | |||
941 | Value: 1807 | ||
942 | Name: EXCHANGE_MANAGEMENT_KEYS_SIGNKEY_UNKNOWN | ||
943 | Description: The signingkey specified is unknown to the exchange. | ||
944 | HttpStatus: 404 | ||
945 | |||
946 | Value: 1808 | ||
947 | Name: EXCHANGE_MANAGEMENT_WIRE_DETAILS_SIGNATURE_INVALID | ||
948 | Description: The signature to publish wire account does not validate. | ||
949 | HttpStatus: 403 | ||
950 | |||
951 | Value: 1809 | ||
952 | Name: EXCHANGE_MANAGEMENT_WIRE_ADD_SIGNATURE_INVALID | ||
953 | Description: The signature to add the wire account does not validate. | ||
954 | HttpStatus: 403 | ||
955 | |||
956 | Value: 1810 | ||
957 | Name: EXCHANGE_MANAGEMENT_WIRE_DEL_SIGNATURE_INVALID | ||
958 | Description: The signature to disable the wire account does not validate. | ||
959 | HttpStatus: 403 | ||
960 | |||
961 | Value: 1811 | ||
962 | Name: EXCHANGE_MANAGEMENT_WIRE_NOT_FOUND | ||
963 | Description: The wire account to be disabled is unknown to the exchange. | ||
964 | HttpStatus: 404 | ||
965 | |||
966 | Value: 1812 | ||
967 | Name: EXCHANGE_MANAGEMENT_WIRE_FEE_SIGNATURE_INVALID | ||
968 | Description: The signature to affirm wire fees does not validate. | ||
969 | HttpStatus: 403 | ||
970 | |||
971 | Value: 1813 | ||
972 | Name: EXCHANGE_MANAGEMENT_WIRE_FEE_MISMATCH | ||
973 | Description: The signature conflicts with a previous signature affirming different fees. | ||
974 | HttpStatus: 409 | ||
975 | |||
976 | Value: 1814 | ||
977 | Name: EXCHANGE_MANAGEMENT_KEYS_DENOMKEY_ADD_SIGNATURE_INVALID | ||
978 | Description: The signature affirming the denomination key is invalid. | ||
979 | HttpStatus: 403 | ||
980 | |||
981 | Value: 1815 | ||
982 | Name: EXCHANGE_MANAGEMENT_KEYS_SIGNKEY_ADD_SIGNATURE_INVALID | ||
983 | Description: The signature affirming the signing key is invalid. | ||
984 | HttpStatus: 403 | ||
985 | |||
986 | Value: 1816 | ||
987 | Name: EXCHANGE_MANAGEMENT_GLOBAL_FEE_MISMATCH | ||
988 | Description: The signature conflicts with a previous signature affirming different fees. | ||
989 | HttpStatus: 409 | ||
990 | |||
991 | Value: 1817 | ||
992 | Name: EXCHANGE_MANAGEMENT_GLOBAL_FEE_SIGNATURE_INVALID | ||
993 | Description: The signature affirming the fee structure is invalid. | ||
994 | HttpStatus: 403 | ||
995 | |||
996 | Value: 1818 | ||
997 | Name: EXCHANGE_MANAGEMENT_DRAIN_PROFITS_SIGNATURE_INVALID | ||
998 | Description: The signature affirming the profit drain is invalid. | ||
999 | HttpStatus: 403 | ||
1000 | |||
1001 | Value: 1850 | ||
1002 | Name: EXCHANGE_PURSE_CREATE_CONFLICTING_META_DATA | ||
1003 | Description: The purse was previously created with different meta data. | ||
1004 | HttpStatus: 409 | ||
1005 | |||
1006 | Value: 1851 | ||
1007 | Name: EXCHANGE_PURSE_CREATE_CONFLICTING_CONTRACT_STORED | ||
1008 | Description: The purse was previously created with a different contract. | ||
1009 | HttpStatus: 409 | ||
1010 | |||
1011 | Value: 1852 | ||
1012 | Name: EXCHANGE_PURSE_CREATE_COIN_SIGNATURE_INVALID | ||
1013 | Description: A coin signature for a deposit into the purse is invalid. | ||
1014 | HttpStatus: 403 | ||
1015 | |||
1016 | Value: 1853 | ||
1017 | Name: EXCHANGE_PURSE_CREATE_EXPIRATION_BEFORE_NOW | ||
1018 | Description: The purse expiration time is in the past. | ||
1019 | HttpStatus: 400 | ||
1020 | |||
1021 | Value: 1854 | ||
1022 | Name: EXCHANGE_PURSE_CREATE_EXPIRATION_IS_NEVER | ||
1023 | Description: The purse expiration time is "never". | ||
1024 | HttpStatus: 400 | ||
1025 | |||
1026 | Value: 1855 | ||
1027 | Name: EXCHANGE_PURSE_CREATE_SIGNATURE_INVALID | ||
1028 | Description: The purse signature over the purse meta data is invalid. | ||
1029 | HttpStatus: 403 | ||
1030 | |||
1031 | Value: 1856 | ||
1032 | Name: EXCHANGE_PURSE_ECONTRACT_SIGNATURE_INVALID | ||
1033 | Description: The signature over the encrypted contract is invalid. | ||
1034 | HttpStatus: 403 | ||
1035 | |||
1036 | Value: 1857 | ||
1037 | Name: EXCHANGE_PURSE_CREATE_EXCHANGE_SIGNATURE_INVALID | ||
1038 | Description: The signature from the exchange over the confirmation is invalid. | ||
1039 | HttpStatus: 0 | ||
1040 | |||
1041 | Value: 1858 | ||
1042 | Name: EXCHANGE_PURSE_DEPOSIT_CONFLICTING_META_DATA | ||
1043 | Description: The coin was previously deposited with different meta data. | ||
1044 | HttpStatus: 409 | ||
1045 | |||
1046 | Value: 1859 | ||
1047 | Name: EXCHANGE_PURSE_ECONTRACT_CONFLICTING_META_DATA | ||
1048 | Description: The encrypted contract was previously uploaded with different meta data. | ||
1049 | HttpStatus: 409 | ||
1050 | |||
1051 | Value: 1860 | ||
1052 | Name: EXCHANGE_CREATE_PURSE_NEGATIVE_VALUE_AFTER_FEE | ||
1053 | Description: The deposited amount is less than the purse fee. | ||
1054 | HttpStatus: 400 | ||
1055 | |||
1056 | Value: 1876 | ||
1057 | Name: EXCHANGE_PURSE_MERGE_INVALID_MERGE_SIGNATURE | ||
1058 | Description: The signature using the merge key is invalid. | ||
1059 | HttpStatus: 403 | ||
1060 | |||
1061 | Value: 1877 | ||
1062 | Name: EXCHANGE_PURSE_MERGE_INVALID_RESERVE_SIGNATURE | ||
1063 | Description: The signature using the reserve key is invalid. | ||
1064 | HttpStatus: 403 | ||
1065 | |||
1066 | Value: 1878 | ||
1067 | Name: EXCHANGE_PURSE_NOT_FULL | ||
1068 | Description: The targeted purse is not yet full and thus cannot be merged. Retrying the request later may succeed. | ||
1069 | HttpStatus: 409 | ||
1070 | |||
1071 | Value: 1879 | ||
1072 | Name: EXCHANGE_PURSE_MERGE_EXCHANGE_SIGNATURE_INVALID | ||
1073 | Description: The signature from the exchange over the confirmation is invalid. | ||
1074 | HttpStatus: 0 | ||
1075 | |||
1076 | Value: 1880 | ||
1077 | Name: EXCHANGE_MERGE_PURSE_PARTNER_UNKNOWN | ||
1078 | Description: The exchange of the target account is not a partner of this exchange. | ||
1079 | HttpStatus: 404 | ||
1080 | |||
1081 | |||
1082 | Value: 1900 | ||
1083 | Name: EXCHANGE_AUDITORS_AUDITOR_SIGNATURE_INVALID | ||
1084 | Description: The auditor signature over the denomination meta data is invalid. | ||
1085 | HttpStatus: 403 | ||
1086 | |||
1087 | Value: 1901 | ||
1088 | Name: EXCHANGE_AUDITORS_AUDITOR_UNKNOWN | ||
1089 | Description: The auditor that was specified is unknown to this exchange. | ||
1090 | HttpStatus: 412 | ||
1091 | |||
1092 | Value: 1902 | ||
1093 | Name: EXCHANGE_AUDITORS_AUDITOR_INACTIVE | ||
1094 | Description: The auditor that was specified is no longer used by this exchange. | ||
1095 | HttpStatus: 410 | ||
1096 | |||
1097 | Value: 1925 | ||
1098 | Name: EXCHANGE_KYC_WALLET_SIGNATURE_INVALID | ||
1099 | Description: The signature affirming the wallet's KYC request was invalid. | ||
1100 | HttpStatus: 403 | ||
1101 | |||
1102 | Value: 1926 | ||
1103 | Name: EXCHANGE_KYC_PROOF_BACKEND_INVALID_RESPONSE | ||
1104 | Description: The exchange received an unexpected malformed response from its KYC backend. | ||
1105 | HttpStatus: 502 | ||
1106 | |||
1107 | Value: 1927 | ||
1108 | Name: EXCHANGE_KYC_PROOF_BACKEND_ERROR | ||
1109 | Description: The backend signaled an unexpected failure. | ||
1110 | HttpStatus: 502 | ||
1111 | |||
1112 | Value: 1928 | ||
1113 | Name: EXCHANGE_KYC_PROOF_BACKEND_AUTHORIZATION_FAILED | ||
1114 | Description: The backend signaled an authorization failure. | ||
1115 | HttpStatus: 403 | ||
1116 | |||
1117 | Value: 1929 | ||
1118 | Name: EXCHANGE_KYC_PROOF_REQUEST_UNKNOWN | ||
1119 | Description: The exchange is unaware of having made an the authorization request. | ||
1120 | HttpStatus: 404 | ||
1121 | |||
1122 | Value: 1930 | ||
1123 | Name: EXCHANGE_KYC_CHECK_AUTHORIZATION_FAILED | ||
1124 | Description: The payto-URI hash did not match. Hence the request was denied. | ||
1125 | HttpStatus: 403 | ||
1126 | |||
1127 | Value: 1931 | ||
1128 | Name: EXCHANGE_KYC_GENERIC_LOGIC_UNKNOWN | ||
1129 | Description: The request used a logic specifier that is not known to the exchange. | ||
1130 | HttpStatus: 404 | ||
1131 | |||
1132 | Value: 1932 | ||
1133 | Name: EXCHANGE_KYC_GENERIC_LOGIC_GONE | ||
1134 | Description: The request requires a logic which is no longer configured at the exchange. | ||
1135 | HttpStatus: 500 | ||
1136 | |||
1137 | Value: 1933 | ||
1138 | Name: EXCHANGE_KYC_GENERIC_LOGIC_BUG | ||
1139 | Description: The logic plugin had a bug in its interaction with the KYC provider. | ||
1140 | HttpStatus: 500 | ||
1141 | |||
1142 | Value: 1934 | ||
1143 | Name: EXCHANGE_KYC_GENERIC_PROVIDER_ACCESS_REFUSED | ||
1144 | 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. | ||
1145 | HttpStatus: 511 | ||
1146 | |||
1147 | Value: 1935 | ||
1148 | Name: EXCHANGE_KYC_GENERIC_PROVIDER_TIMEOUT | ||
1149 | 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. | ||
1150 | HttpStatus: 504 | ||
1151 | |||
1152 | Value: 1936 | ||
1153 | Name: EXCHANGE_KYC_GENERIC_PROVIDER_UNEXPECTED_REPLY | ||
1154 | Description: The KYC provider responded with a status that was completely unexpected by the KYC logic of the exchange. | ||
1155 | HttpStatus: 502 | ||
1156 | |||
1157 | Value: 1937 | ||
1158 | Name: EXCHANGE_KYC_GENERIC_PROVIDER_RATE_LIMIT_EXCEEDED | ||
1159 | Description: The rate limit of the exchange at the KYC provider has been exceeded. Trying much later might work. | ||
1160 | HttpStatus: 503 | ||
1161 | |||
1162 | Value: 1938 | ||
1163 | Name: EXCHANGE_KYC_WEBHOOK_UNAUTHORIZED | ||
1164 | Description: The request to the webhook lacked proper authorization or authentication data. | ||
1165 | HttpStatus: 401 | ||
1166 | |||
1167 | |||
1168 | |||
1169 | Value: 1950 | ||
1170 | Name: EXCHANGE_CONTRACTS_UNKNOWN | ||
1171 | Description: The exchange does not know a contract under the given contract public key. | ||
1172 | HttpStatus: 404 | ||
1173 | |||
1174 | Value: 1951 | ||
1175 | Name: EXCHANGE_CONTRACTS_INVALID_CONTRACT_PUB | ||
1176 | Description: The URL does not encode a valid exchange public key in its path. | ||
1177 | HttpStatus: 400 | ||
1178 | |||
1179 | Value: 1952 | ||
1180 | Name: EXCHANGE_CONTRACTS_DECRYPTION_FAILED | ||
1181 | Description: The returned encrypted contract did not decrypt. | ||
1182 | HttpStatus: 0 | ||
1183 | |||
1184 | Value: 1953 | ||
1185 | Name: EXCHANGE_CONTRACTS_SIGNATURE_INVALID | ||
1186 | Description: The signature on the encrypted contract did not validate. | ||
1187 | HttpStatus: 0 | ||
1188 | |||
1189 | Value: 1954 | ||
1190 | Name: EXCHANGE_CONTRACTS_DECODING_FAILED | ||
1191 | Description: The decrypted contract was malformed. | ||
1192 | HttpStatus: 0 | ||
1193 | |||
1194 | Value: 1975 | ||
1195 | Name: EXCHANGE_PURSE_DEPOSIT_COIN_SIGNATURE_INVALID | ||
1196 | Description: A coin signature for a deposit into the purse is invalid. | ||
1197 | HttpStatus: 403 | ||
1198 | |||
1199 | |||
1200 | |||
1201 | |||
1202 | # 2000 - 2999: Reserved for merchant | ||
1203 | # 2000 - 2099: Reserved for MERCHANT_GENERIC | ||
1204 | |||
1205 | Value: 2000 | ||
1206 | Name: MERCHANT_GENERIC_INSTANCE_UNKNOWN | ||
1207 | Description: The backend could not find the merchant instance specified in the request. | ||
1208 | HttpStatus: 404 | ||
1209 | |||
1210 | Value: 2001 | ||
1211 | Name: MERCHANT_GENERIC_HOLE_IN_WIRE_FEE_STRUCTURE | ||
1212 | Description: The start and end-times in the wire fee structure leave a hole. This is not allowed. | ||
1213 | HttpStatus: 0 | ||
1214 | |||
1215 | Value: 2005 | ||
1216 | Name: MERCHANT_GENERIC_ORDER_UNKNOWN | ||
1217 | Description: The proposal is not known to the backend. | ||
1218 | HttpStatus: 404 | ||
1219 | |||
1220 | Value: 2006 | ||
1221 | Name: MERCHANT_GENERIC_PRODUCT_UNKNOWN | ||
1222 | Description: The order provided to the backend could not be completed, because a product to be completed via inventory data is not actually in our inventory. | ||
1223 | HttpStatus: 404 | ||
1224 | |||
1225 | Value: 2007 | ||
1226 | Name: MERCHANT_GENERIC_TIP_ID_UNKNOWN | ||
1227 | Description: The tip ID is unknown. This could happen if the tip has expired. | ||
1228 | HttpStatus: 404 | ||
1229 | |||
1230 | Value: 2008 | ||
1231 | Name: MERCHANT_GENERIC_DB_CONTRACT_CONTENT_INVALID | ||
1232 | Description: The contract obtained from the merchant backend was malformed. | ||
1233 | HttpStatus: 500 | ||
1234 | |||
1235 | Value: 2009 | ||
1236 | Name: MERCHANT_GENERIC_CONTRACT_HASH_DOES_NOT_MATCH_ORDER | ||
1237 | Description: The order we found does not match the provided contract hash. | ||
1238 | HttpStatus: 403 | ||
1239 | |||
1240 | Value: 2010 | ||
1241 | Name: MERCHANT_GENERIC_EXCHANGE_KEYS_FAILURE | ||
1242 | Description: The exchange failed to provide a valid response to the merchant's /keys request. | ||
1243 | HttpStatus: 502 | ||
1244 | |||
1245 | Value: 2011 | ||
1246 | Name: MERCHANT_GENERIC_EXCHANGE_TIMEOUT | ||
1247 | Description: The exchange failed to respond to the merchant on time. | ||
1248 | HttpStatus: 504 | ||
1249 | |||
1250 | Value: 2012 | ||
1251 | Name: MERCHANT_GENERIC_EXCHANGE_CONNECT_FAILURE | ||
1252 | Description: The merchant failed to talk to the exchange. | ||
1253 | HttpStatus: 500 | ||
1254 | |||
1255 | Value: 2013 | ||
1256 | Name: MERCHANT_GENERIC_EXCHANGE_REPLY_MALFORMED | ||
1257 | Description: The exchange returned a maformed response. | ||
1258 | HttpStatus: 502 | ||
1259 | |||
1260 | Value: 2014 | ||
1261 | Name: MERCHANT_GENERIC_EXCHANGE_UNEXPECTED_STATUS | ||
1262 | Description: The exchange returned an unexpected response status. | ||
1263 | HttpStatus: 502 | ||
1264 | |||
1265 | Value: 2015 | ||
1266 | Name: MERCHANT_GENERIC_UNAUTHORIZED | ||
1267 | Description: The merchant refused the request due to lack of authorization. | ||
1268 | HttpStatus: 401 | ||
1269 | |||
1270 | Value: 2016 | ||
1271 | Name: MERCHANT_GENERIC_INSTANCE_DELETED | ||
1272 | Description: The merchant instance specified in the request was deleted. | ||
1273 | HttpStatus: 404 | ||
1274 | |||
1275 | Value: 2017 | ||
1276 | Name: MERCHANT_GENERIC_TRANSFER_UNKNOWN | ||
1277 | Description: The backend could not find the inbound wire transfer specified in the request. | ||
1278 | HttpStatus: 404 | ||
1279 | |||
1280 | Value: 2018 | ||
1281 | Name: MERCHANT_GENERIC_TEMPLATE_UNKNOWN | ||
1282 | Description: The backend could not find the template(id) because it is not exist. | ||
1283 | HttpStatus: 404 | ||
1284 | |||
1285 | |||
1286 | # 2100-2499: public API | ||
1287 | # 2100-2149: get orders endpoint | ||
1288 | |||
1289 | Value: 2100 | ||
1290 | Name: MERCHANT_GET_ORDERS_EXCHANGE_TRACKING_FAILURE | ||
1291 | Description: The exchange failed to provide a valid answer to the tracking request, thus those details are not in the response. | ||
1292 | HttpStatus: 200 | ||
1293 | |||
1294 | Value: 2103 | ||
1295 | Name: MERCHANT_GET_ORDERS_ID_EXCHANGE_REQUEST_FAILURE | ||
1296 | Description: The merchant backend failed to construct the request for tracking to the exchange, thus tracking details are not in the response. | ||
1297 | HttpStatus: 500 | ||
1298 | |||
1299 | Value: 2104 | ||
1300 | Name: MERCHANT_GET_ORDERS_ID_EXCHANGE_LOOKUP_START_FAILURE | ||
1301 | Description: The merchant backend failed trying to contact the exchange for tracking details, thus those details are not in the response. | ||
1302 | HttpStatus: 500 | ||
1303 | |||
1304 | Value: 2105 | ||
1305 | Name: MERCHANT_GET_ORDERS_ID_INVALID_TOKEN | ||
1306 | Description: The claim token used to authenticate the client is invalid for this order. | ||
1307 | HttpStatus: 403 | ||
1308 | |||
1309 | Value: 2106 | ||
1310 | Name: MERCHANT_GET_ORDERS_ID_INVALID_CONTRACT_HASH | ||
1311 | Description: The contract terms hash used to authenticate the client is invalid for this order. | ||
1312 | HttpStatus: 403 | ||
1313 | |||
1314 | # 2150-2199: post orders ID pay endpoint | ||
1315 | |||
1316 | Value: 2150 | ||
1317 | Name: MERCHANT_POST_ORDERS_ID_PAY_INSUFFICIENT_FUNDS | ||
1318 | Description: The exchange responded saying that funds were insufficient (for example, due to double-spending). | ||
1319 | HttpStatus: 409 | ||
1320 | |||
1321 | Value: 2151 | ||
1322 | Name: MERCHANT_POST_ORDERS_ID_PAY_DENOMINATION_KEY_NOT_FOUND | ||
1323 | Description: The denomination key used for payment is not listed among the denomination keys of the exchange. | ||
1324 | HttpStatus: 400 | ||
1325 | |||
1326 | Value: 2152 | ||
1327 | Name: MERCHANT_POST_ORDERS_ID_PAY_DENOMINATION_KEY_AUDITOR_FAILURE | ||
1328 | Description: The denomination key used for payment is not audited by an auditor approved by the merchant. | ||
1329 | HttpStatus: 400 | ||
1330 | |||
1331 | Value: 2153 | ||
1332 | Name: MERCHANT_POST_ORDERS_ID_PAY_AMOUNT_OVERFLOW | ||
1333 | Description: There was an integer overflow totaling up the amounts or deposit fees in the payment. | ||
1334 | HttpStatus: 500 | ||
1335 | |||
1336 | Value: 2154 | ||
1337 | Name: MERCHANT_POST_ORDERS_ID_PAY_FEES_EXCEED_PAYMENT | ||
1338 | Description: The deposit fees exceed the total value of the payment. | ||
1339 | HttpStatus: 400 | ||
1340 | |||
1341 | Value: 2155 | ||
1342 | Name: MERCHANT_POST_ORDERS_ID_PAY_INSUFFICIENT_DUE_TO_FEES | ||
1343 | 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. | ||
1344 | HttpStatus: 406 | ||
1345 | |||
1346 | Value: 2156 | ||
1347 | Name: MERCHANT_POST_ORDERS_ID_PAY_PAYMENT_INSUFFICIENT | ||
1348 | Description: Even if we do not consider deposit and wire fees, the payment is insufficient to satisfy the required amount for the contract. | ||
1349 | HttpStatus: 406 | ||
1350 | |||
1351 | Value: 2157 | ||
1352 | Name: MERCHANT_POST_ORDERS_ID_PAY_COIN_SIGNATURE_INVALID | ||
1353 | Description: The signature over the contract of one of the coins was invalid. | ||
1354 | HttpStatus: 403 | ||
1355 | |||
1356 | Value: 2158 | ||
1357 | Name: MERCHANT_POST_ORDERS_ID_PAY_EXCHANGE_LOOKUP_FAILED | ||
1358 | Description: When we tried to find information about the exchange to issue the deposit, we failed. This usually only happens if the merchant backend is somehow unable to get its own HTTP client logic to work. | ||
1359 | HttpStatus: 500 | ||
1360 | |||
1361 | Value: 2159 | ||
1362 | Name: MERCHANT_POST_ORDERS_ID_PAY_REFUND_DEADLINE_PAST_WIRE_TRANSFER_DEADLINE | ||
1363 | Description: The refund deadline in the contract is after the transfer deadline. | ||
1364 | HttpStatus: 500 | ||
1365 | |||
1366 | Value: 2160 | ||
1367 | Name: MERCHANT_POST_ORDERS_ID_PAY_ALREADY_PAID | ||
1368 | Description: The order was already paid (maybe by another wallet). | ||
1369 | HttpStatus: 409 | ||
1370 | |||
1371 | Value: 2161 | ||
1372 | Name: MERCHANT_POST_ORDERS_ID_PAY_OFFER_EXPIRED | ||
1373 | Description: The payment is too late, the offer has expired. | ||
1374 | HttpStatus: 410 | ||
1375 | |||
1376 | Value: 2162 | ||
1377 | Name: MERCHANT_POST_ORDERS_ID_PAY_MERCHANT_FIELD_MISSING | ||
1378 | Description: The "merchant" field is missing in the proposal data. This is an internal error as the proposal is from the merchant's own database at this point. | ||
1379 | HttpStatus: 500 | ||
1380 | |||
1381 | Value: 2163 | ||
1382 | Name: MERCHANT_POST_ORDERS_ID_PAY_WIRE_HASH_UNKNOWN | ||
1383 | Description: Failed to locate merchant's account information matching the wire hash given in the proposal. | ||
1384 | HttpStatus: 500 | ||
1385 | |||
1386 | Value: 2165 | ||
1387 | Name: MERCHANT_POST_ORDERS_ID_PAY_DENOMINATION_DEPOSIT_EXPIRED | ||
1388 | Description: The deposit time for the denomination has expired. | ||
1389 | HttpStatus: 410 | ||
1390 | |||
1391 | Value: 2166 | ||
1392 | Name: MERCHANT_POST_ORDERS_ID_PAY_EXCHANGE_WIRE_FEE_ADDITION_FAILED | ||
1393 | Description: The exchange of the deposited coin charges a wire fee that could not be added to the total (total amount too high). | ||
1394 | HttpStatus: 500 | ||
1395 | |||
1396 | Value: 2167 | ||
1397 | Name: MERCHANT_POST_ORDERS_ID_PAY_REFUNDED | ||
1398 | Description: The contract was not fully paid because of refunds. Note that clients MAY treat this as paid if, for example, contracts must be executed despite of refunds. | ||
1399 | HttpStatus: 402 | ||
1400 | |||
1401 | Value: 2168 | ||
1402 | Name: MERCHANT_POST_ORDERS_ID_PAY_REFUNDS_EXCEED_PAYMENTS | ||
1403 | Description: According to our database, we have refunded more than we were paid (which should not be possible). | ||
1404 | HttpStatus: 500 | ||
1405 | |||
1406 | Value: 2169 | ||
1407 | Name: DEAD_QQQ_PAY_MERCHANT_POST_ORDERS_ID_ABORT_REFUND_REFUSED_PAYMENT_COMPLETE | ||
1408 | Description: Legacy stuff. Remove me with protocol v1. | ||
1409 | HttpStatus: 0 | ||
1410 | |||
1411 | Value: 2170 | ||
1412 | Name: MERCHANT_POST_ORDERS_ID_PAY_EXCHANGE_FAILED | ||
1413 | Description: The payment failed at the exchange. | ||
1414 | HttpStatus: 502 | ||
1415 | |||
1416 | Value: 2171 | ||
1417 | Name: MERCHANT_POST_ORDERS_ID_PAY_AGE_COMMITMENT_MISSING | ||
1418 | 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. | ||
1419 | HttpStatus: 400 | ||
1420 | |||
1421 | Value: 2172 | ||
1422 | Name: MERCHANT_POST_ORDERS_ID_PAY_AGE_COMMITMENT_SIZE_MISMATCH | ||
1423 | 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. | ||
1424 | HttpStatus: 400 | ||
1425 | |||
1426 | Value: 2173 | ||
1427 | Name: MERCHANT_POST_ORDERS_ID_PAY_AGE_VERIFICATION_FAILED | ||
1428 | 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. | ||
1429 | HttpStatus: 400 | ||
1430 | |||
1431 | Value: 2174 | ||
1432 | Name: MERCHANT_POST_ORDERS_ID_PAY_AGE_COMMITMENT_HASH_MISSING | ||
1433 | 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. | ||
1434 | HttpStatus: 400 | ||
1435 | |||
1436 | # 2200-2249: post orders ID paid endpoint | ||
1437 | |||
1438 | Value: 2200 | ||
1439 | Name: MERCHANT_POST_ORDERS_ID_PAID_CONTRACT_HASH_MISMATCH | ||
1440 | Description: The contract hash does not match the given order ID. | ||
1441 | HttpStatus: 400 | ||
1442 | |||
1443 | Value: 2201 | ||
1444 | Name: MERCHANT_POST_ORDERS_ID_PAID_COIN_SIGNATURE_INVALID | ||
1445 | Description: The signature of the merchant is not valid for the given contract hash. | ||
1446 | HttpStatus: 403 | ||
1447 | |||
1448 | # 2250-2299: post orders ID abort endpoint | ||
1449 | |||
1450 | |||
1451 | Value: 2251 | ||
1452 | Name: MERCHANT_POST_ORDERS_ID_ABORT_EXCHANGE_REFUND_FAILED | ||
1453 | Description: The merchant failed to send the exchange the refund request. | ||
1454 | HttpStatus: 500 | ||
1455 | |||
1456 | Value: 2252 | ||
1457 | Name: MERCHANT_POST_ORDERS_ID_ABORT_EXCHANGE_LOOKUP_FAILED | ||
1458 | Description: The merchant failed to find the exchange to process the lookup. | ||
1459 | HttpStatus: 500 | ||
1460 | |||
1461 | Value: 2253 | ||
1462 | Name: MERCHANT_POST_ORDERS_ID_ABORT_CONTRACT_NOT_FOUND | ||
1463 | Description: The merchant could not find the contract. | ||
1464 | HttpStatus: 404 | ||
1465 | |||
1466 | Value: 2254 | ||
1467 | Name: MERCHANT_POST_ORDERS_ID_ABORT_REFUND_REFUSED_PAYMENT_COMPLETE | ||
1468 | Description: The payment was already completed and thus cannot be aborted anymore. | ||
1469 | HttpStatus: 412 | ||
1470 | |||
1471 | Value: 2255 | ||
1472 | Name: MERCHANT_POST_ORDERS_ID_ABORT_CONTRACT_HASH_MISSMATCH | ||
1473 | Description: The hash provided by the wallet does not match the order. | ||
1474 | HttpStatus: 403 | ||
1475 | |||
1476 | Value: 2256 | ||
1477 | Name: MERCHANT_POST_ORDERS_ID_ABORT_COINS_ARRAY_EMPTY | ||
1478 | Description: The array of coins cannot be empty. | ||
1479 | HttpStatus: 400 | ||
1480 | |||
1481 | # 2300-2349: post orders ID claim endpoint | ||
1482 | |||
1483 | Value: 2300 | ||
1484 | Name: MERCHANT_POST_ORDERS_ID_CLAIM_NOT_FOUND | ||
1485 | Description: We could not claim the order because the backend is unaware of it. | ||
1486 | HttpStatus: 404 | ||
1487 | |||
1488 | Value: 2301 | ||
1489 | Name: MERCHANT_POST_ORDERS_ID_CLAIM_ALREADY_CLAIMED | ||
1490 | Description: We could not claim the order because someone else claimed it first. | ||
1491 | HttpStatus: 409 | ||
1492 | |||
1493 | Value: 2302 | ||
1494 | Name: MERCHANT_POST_ORDERS_ID_CLAIM_CLIENT_INTERNAL_FAILURE | ||
1495 | Description: The client-side experienced an internal failure. | ||
1496 | HttpStatus: 0 | ||
1497 | |||
1498 | # 2350-2399: post orders ID refund endpoint | ||
1499 | |||
1500 | Value: 2350 | ||
1501 | Name: MERCHANT_POST_ORDERS_ID_REFUND_SIGNATURE_FAILED | ||
1502 | Description: The backend failed to sign the refund request. | ||
1503 | HttpStatus: 0 | ||
1504 | |||
1505 | # 2400-2449: tip pickup endpoint | ||
1506 | |||
1507 | Value: 2400 | ||
1508 | Name: MERCHANT_TIP_PICKUP_UNBLIND_FAILURE | ||
1509 | Description: The client failed to unblind the signature returned by the merchant. | ||
1510 | HttpStatus: 0 | ||
1511 | |||
1512 | |||
1513 | |||
1514 | Value: 2403 | ||
1515 | Name: MERCHANT_TIP_PICKUP_EXCHANGE_ERROR | ||
1516 | Description: The exchange returned a failure code for the withdraw operation. | ||
1517 | HttpStatus: 502 | ||
1518 | |||
1519 | |||
1520 | Value: 2404 | ||
1521 | Name: MERCHANT_TIP_PICKUP_SUMMATION_FAILED | ||
1522 | Description: The merchant failed to add up the amounts to compute the pick up value. | ||
1523 | HttpStatus: 500 | ||
1524 | |||
1525 | Value: 2405 | ||
1526 | Name: MERCHANT_TIP_PICKUP_HAS_EXPIRED | ||
1527 | Description: The tip expired. | ||
1528 | HttpStatus: 410 | ||
1529 | |||
1530 | Value: 2406 | ||
1531 | Name: MERCHANT_TIP_PICKUP_AMOUNT_EXCEEDS_TIP_REMAINING | ||
1532 | Description: The requested withdraw amount exceeds the amount remaining to be picked up. | ||
1533 | HttpStatus: 400 | ||
1534 | |||
1535 | Value: 2407 | ||
1536 | Name: MERCHANT_TIP_PICKUP_DENOMINATION_UNKNOWN | ||
1537 | Description: The merchant did not find the specified denomination key in the exchange's key set. | ||
1538 | HttpStatus: 409 | ||
1539 | |||
1540 | # 2450-2499: available for future public endpoint | ||
1541 | |||
1542 | # 2500-2999: private API | ||
1543 | # 2500-2549: order operations | ||
1544 | |||
1545 | Value: 2500 | ||
1546 | Name: MERCHANT_PRIVATE_POST_ORDERS_INSTANCE_CONFIGURATION_LACKS_WIRE | ||
1547 | 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). | ||
1548 | HttpStatus: 404 | ||
1549 | |||
1550 | Value: 2501 | ||
1551 | Name: MERCHANT_PRIVATE_POST_ORDERS_NO_LOCALTIME | ||
1552 | Description: The proposal had no timestamp and the backend failed to obtain the local time. Likely to be an internal error. | ||
1553 | HttpStatus: 500 | ||
1554 | |||
1555 | Value: 2502 | ||
1556 | Name: MERCHANT_PRIVATE_POST_ORDERS_PROPOSAL_PARSE_ERROR | ||
1557 | Description: The order provided to the backend could not be parsed, some required fields were missing or ill-formed. | ||
1558 | HttpStatus: 400 | ||
1559 | |||
1560 | Value: 2503 | ||
1561 | Name: MERCHANT_PRIVATE_POST_ORDERS_ALREADY_EXISTS | ||
1562 | Description: The backend encountered an error: the proposal already exists. | ||
1563 | HttpStatus: 409 | ||
1564 | |||
1565 | Value: 2504 | ||
1566 | Name: MERCHANT_PRIVATE_POST_ORDERS_REFUND_AFTER_WIRE_DEADLINE | ||
1567 | Description: The request is invalid: the wire deadline is before the refund deadline. | ||
1568 | HttpStatus: 400 | ||
1569 | |||
1570 | Value: 2505 | ||
1571 | Name: MERCHANT_PRIVATE_POST_ORDERS_DELIVERY_DATE_IN_PAST | ||
1572 | Description: The request is invalid: a delivery date was given, but it is in the past. | ||
1573 | HttpStatus: 400 | ||
1574 | |||
1575 | Value: 2506 | ||
1576 | Name: MERCHANT_PRIVATE_POST_ORDERS_WIRE_DEADLINE_IS_NEVER | ||
1577 | Description: The request is invalid: the wire deadline for the order would be "never". | ||
1578 | HttpStatus: 400 | ||
1579 | |||
1580 | Value: 2510 | ||
1581 | Name: MERCHANT_PRIVATE_PATCH_ORDERS_ID_FORGET_PATH_SYNTAX_INCORRECT | ||
1582 | Description: One of the paths to forget is malformed. | ||
1583 | HttpStatus: 400 | ||
1584 | |||
1585 | Value: 2511 | ||
1586 | Name: MERCHANT_PRIVATE_PATCH_ORDERS_ID_FORGET_PATH_NOT_FORGETTABLE | ||
1587 | Description: One of the paths to forget was not marked as forgettable. | ||
1588 | HttpStatus: 409 | ||
1589 | |||
1590 | Value: 2520 | ||
1591 | Name: MERCHANT_PRIVATE_DELETE_ORDERS_AWAITING_PAYMENT | ||
1592 | Description: The order provided to the backend could not be deleted, our offer is still valid and awaiting payment. | ||
1593 | HttpStatus: 409 | ||
1594 | |||
1595 | Value: 2521 | ||
1596 | Name: MERCHANT_PRIVATE_DELETE_ORDERS_ALREADY_PAID | ||
1597 | Description: The order provided to the backend could not be deleted as the order was already paid. | ||
1598 | HttpStatus: 409 | ||
1599 | |||
1600 | Value: 2530 | ||
1601 | Name: MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_INCONSISTENT_AMOUNT | ||
1602 | 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. | ||
1603 | HttpStatus: 409 | ||
1604 | |||
1605 | Value: 2531 | ||
1606 | Name: MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_ORDER_UNPAID | ||
1607 | Description: The frontend gave an unpaid order id to issue the refund to. | ||
1608 | HttpStatus: 409 | ||
1609 | |||
1610 | Value: 2532 | ||
1611 | Name: MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_NOT_ALLOWED_BY_CONTRACT | ||
1612 | Description: The refund delay was set to 0 and thus no refunds are allowed for this order. | ||
1613 | HttpStatus: 403 | ||
1614 | |||
1615 | |||
1616 | |||
1617 | # 2550-2599: transfer operations | ||
1618 | |||
1619 | Value: 2550 | ||
1620 | Name: MERCHANT_PRIVATE_POST_TRANSFERS_EXCHANGE_UNKNOWN | ||
1621 | Description: The exchange says it does not know this transfer. | ||
1622 | HttpStatus: 502 | ||
1623 | |||
1624 | Value: 2551 | ||
1625 | Name: MERCHANT_PRIVATE_POST_TRANSFERS_REQUEST_ERROR | ||
1626 | Description: We internally failed to execute the /track/transfer request. | ||
1627 | HttpStatus: 502 | ||
1628 | |||
1629 | Value: 2552 | ||
1630 | Name: MERCHANT_PRIVATE_POST_TRANSFERS_CONFLICTING_TRANSFERS | ||
1631 | Description: The amount transferred differs between what was submitted and what the exchange claimed. | ||
1632 | HttpStatus: 409 | ||
1633 | |||
1634 | Value: 2553 | ||
1635 | Name: MERCHANT_PRIVATE_POST_TRANSFERS_CONFLICTING_REPORTS | ||
1636 | Description: The exchange gave conflicting information about a coin which has been wire transferred. | ||
1637 | HttpStatus: 409 | ||
1638 | |||
1639 | Value: 2554 | ||
1640 | Name: MERCHANT_PRIVATE_POST_TRANSFERS_BAD_WIRE_FEE | ||
1641 | Description: The exchange charged a different wire fee than what it originally advertised, and it is higher. | ||
1642 | HttpStatus: 502 | ||
1643 | |||
1644 | Value: 2555 | ||
1645 | Name: MERCHANT_PRIVATE_POST_TRANSFERS_ACCOUNT_NOT_FOUND | ||
1646 | Description: We did not find the account that the transfer was made to. | ||
1647 | HttpStatus: 404 | ||
1648 | |||
1649 | Value: 2556 | ||
1650 | Name: MERCHANT_PRIVATE_DELETE_TRANSFERS_ALREADY_CONFIRMED | ||
1651 | Description: The backend could not delete the transfer as the echange already replied to our inquiry about it and we have integrated the result. | ||
1652 | HttpStatus: 409 | ||
1653 | |||
1654 | Value: 2557 | ||
1655 | Name: MERCHANT_PRIVATE_POST_TRANSFERS_CONFLICTING_SUBMISSION | ||
1656 | 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. | ||
1657 | HttpStatus: 409 | ||
1658 | |||
1659 | |||
1660 | # 2600-2649: instance operations | ||
1661 | |||
1662 | Value: 2600 | ||
1663 | Name: MERCHANT_PRIVATE_POST_INSTANCES_ALREADY_EXISTS | ||
1664 | Description: The merchant backend cannot create an instance under the given identifier as one already exists. Use PATCH to modify the existing entry. | ||
1665 | HttpStatus: 409 | ||
1666 | |||
1667 | Value: 2601 | ||
1668 | Name: MERCHANT_PRIVATE_POST_INSTANCES_BAD_AUTH | ||
1669 | Description: The merchant backend cannot create an instance because the authentication configuration field is malformed. | ||
1670 | HttpStatus: 400 | ||
1671 | |||
1672 | Value: 2602 | ||
1673 | Name: MERCHANT_PRIVATE_POST_INSTANCE_AUTH_BAD_AUTH | ||
1674 | Description: The merchant backend cannot update an instance's authentication settings because the provided authentication settings are malformed. | ||
1675 | HttpStatus: 400 | ||
1676 | |||
1677 | Value: 2603 | ||
1678 | Name: MERCHANT_PRIVATE_POST_INSTANCES_PURGE_REQUIRED | ||
1679 | Description: The merchant backend cannot create an instance under the given identifier, the previous one was deleted but must be purged first. | ||
1680 | HttpStatus: 409 | ||
1681 | |||
1682 | Value: 2625 | ||
1683 | Name: MERCHANT_PRIVATE_PATCH_INSTANCES_PURGE_REQUIRED | ||
1684 | Description: The merchant backend cannot update an instance under the given identifier, the previous one was deleted but must be purged first. | ||
1685 | HttpStatus: 409 | ||
1686 | |||
1687 | |||
1688 | # 2650-2699: product operations | ||
1689 | |||
1690 | Value: 2650 | ||
1691 | Name: MERCHANT_PRIVATE_POST_PRODUCTS_CONFLICT_PRODUCT_EXISTS | ||
1692 | Description: The product ID exists. | ||
1693 | HttpStatus: 409 | ||
1694 | |||
1695 | Value: 2660 | ||
1696 | Name: MERCHANT_PRIVATE_PATCH_PRODUCTS_TOTAL_LOST_REDUCED | ||
1697 | Description: The update would have reduced the total amount of product lost, which is not allowed. | ||
1698 | HttpStatus: 409 | ||
1699 | |||
1700 | Value: 2661 | ||
1701 | Name: MERCHANT_PRIVATE_PATCH_PRODUCTS_TOTAL_LOST_EXCEEDS_STOCKS | ||
1702 | Description: The update would have mean that more stocks were lost than what remains from total inventory after sales, which is not allowed. | ||
1703 | HttpStatus: 400 | ||
1704 | |||
1705 | Value: 2662 | ||
1706 | Name: MERCHANT_PRIVATE_PATCH_PRODUCTS_TOTAL_STOCKED_REDUCED | ||
1707 | Description: The update would have reduced the total amount of product in stock, which is not allowed. | ||
1708 | HttpStatus: 409 | ||
1709 | |||
1710 | Value: 2663 | ||
1711 | Name: MERCHANT_PRIVATE_PATCH_PRODUCTS_TOTAL_SOLD_REDUCED | ||
1712 | Description: The update would have reduced the total amount of product sold, which is not allowed. | ||
1713 | HttpStatus: 409 | ||
1714 | |||
1715 | Value: 2670 | ||
1716 | Name: MERCHANT_PRIVATE_POST_PRODUCTS_LOCK_INSUFFICIENT_STOCKS | ||
1717 | Description: The lock request is for more products than we have left (unlocked) in stock. | ||
1718 | HttpStatus: 410 | ||
1719 | |||
1720 | Value: 2680 | ||
1721 | Name: MERCHANT_PRIVATE_DELETE_PRODUCTS_CONFLICTING_LOCK | ||
1722 | Description: The deletion request is for a product that is locked. | ||
1723 | HttpStatus: 409 | ||
1724 | |||
1725 | # 2700-2749: reserve operations | ||
1726 | |||
1727 | Value: 2700 | ||
1728 | Name: MERCHANT_PRIVATE_POST_RESERVES_UNSUPPORTED_WIRE_METHOD | ||
1729 | Description: The requested wire method is not supported by the exchange. | ||
1730 | HttpStatus: 409 | ||
1731 | |||
1732 | Value: 2710 | ||
1733 | Name: MERCHANT_PRIVATE_DELETE_RESERVES_NO_SUCH_RESERVE | ||
1734 | Description: The reserve could not be deleted because it is unknown. | ||
1735 | HttpStatus: 404 | ||
1736 | |||
1737 | # 2750-2799: tip authorization | ||
1738 | |||
1739 | Value: 2750 | ||
1740 | Name: MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_RESERVE_EXPIRED | ||
1741 | Description: The reserve that was used to fund the tips has expired. | ||
1742 | HttpStatus: 410 | ||
1743 | |||
1744 | Value: 2751 | ||
1745 | Name: MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_RESERVE_UNKNOWN | ||
1746 | Description: The reserve that was used to fund the tips was not found in the DB. | ||
1747 | HttpStatus: 503 | ||
1748 | |||
1749 | Value: 2752 | ||
1750 | Name: MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_INSUFFICIENT_FUNDS | ||
1751 | 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. | ||
1752 | HttpStatus: 0 | ||
1753 | |||
1754 | Value: 2753 | ||
1755 | Name: MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_RESERVE_NOT_FOUND | ||
1756 | Description: The backend failed to find a reserve needed to authorize the tip. | ||
1757 | HttpStatus: 503 | ||
1758 | |||
1759 | Value: 2800 | ||
1760 | Name: MERCHANT_PRIVATE_GET_ORDERS_ID_AMOUNT_ARITHMETIC_FAILURE | ||
1761 | Description: The merchant backend encountered a failure in computing the deposit total. | ||
1762 | HttpStatus: 200 | ||
1763 | |||
1764 | # 2850-2899: template operations | ||
1765 | |||
1766 | |||
1767 | |||
1768 | |||
1769 | # 3000 - 3999: Reserved for auditor | ||
1770 | # 3000 - 3099: Reserved for AUDITOR_GENERIC | ||
1771 | |||
1772 | Value: 3100 | ||
1773 | Name: AUDITOR_DEPOSIT_CONFIRMATION_SIGNATURE_INVALID | ||
1774 | Description: The signature from the exchange on the deposit confirmation is invalid. | ||
1775 | HttpStatus: 403 | ||
1776 | |||
1777 | Value: 3101 | ||
1778 | Name: AUDITOR_EXCHANGE_SIGNING_KEY_REVOKED | ||
1779 | Description: The exchange key used for the signature on the deposit confirmation was revoked. | ||
1780 | HttpStatus: 410 | ||
1781 | |||
1782 | |||
1783 | # 5000 - 5999: Reserved for bank | ||
1784 | # 5000 - 5099: Reserved for BANK_GENERIC | ||
1785 | |||
1786 | Value: 5101 | ||
1787 | Name: BANK_SAME_ACCOUNT | ||
1788 | Description: Wire transfer attempted with credit and debit party being the same bank account. | ||
1789 | HttpStatus: 400 | ||
1790 | |||
1791 | Value: 5102 | ||
1792 | Name: BANK_UNALLOWED_DEBIT | ||
1793 | Description: Wire transfer impossible, due to financial limitation of the party that attempted the payment. | ||
1794 | HttpStatus: 409 | ||
1795 | |||
1796 | Value: 5103 | ||
1797 | Name: BANK_NEGATIVE_NUMBER_AMOUNT | ||
1798 | Description: Negative numbers are not allowed (as value and/or fraction) to instantiate an amount object. | ||
1799 | HttpStatus: 400 | ||
1800 | |||
1801 | Value: 5104 | ||
1802 | Name: BANK_NUMBER_TOO_BIG | ||
1803 | Description: A too big number was used (as value and/or fraction) to instantiate an amount object. | ||
1804 | HttpStatus: 400 | ||
1805 | |||
1806 | Value: 5105 | ||
1807 | Name: BANK_LOGIN_FAILED | ||
1808 | Description: Could not login for the requested operation. | ||
1809 | HttpStatus: 403 | ||
1810 | |||
1811 | Value: 5106 | ||
1812 | Name: BANK_UNKNOWN_ACCOUNT | ||
1813 | Description: The bank account referenced in the requested operation was not found. | ||
1814 | HttpStatus: 404 | ||
1815 | |||
1816 | Value: 5107 | ||
1817 | Name: BANK_TRANSACTION_NOT_FOUND | ||
1818 | Description: The transaction referenced in the requested operation (typically a reject operation), was not found. | ||
1819 | HttpStatus: 404 | ||
1820 | |||
1821 | Value: 5108 | ||
1822 | Name: BANK_BAD_FORMAT_AMOUNT | ||
1823 | Description: Bank received a malformed amount string. | ||
1824 | HttpStatus: 400 | ||
1825 | |||
1826 | Value: 5109 | ||
1827 | Name: BANK_REJECT_NO_RIGHTS | ||
1828 | 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. | ||
1829 | HttpStatus: 403 | ||
1830 | |||
1831 | Value: 5110 | ||
1832 | Name: BANK_UNMANAGED_EXCEPTION | ||
1833 | Description: This error code is returned when no known exception types captured the exception. | ||
1834 | HttpStatus: 500 | ||
1835 | |||
1836 | Value: 5111 | ||
1837 | Name: BANK_SOFT_EXCEPTION | ||
1838 | 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. | ||
1839 | HttpStatus: 500 | ||
1840 | |||
1841 | Value: 5112 | ||
1842 | Name: BANK_TRANSFER_REQUEST_UID_REUSED | ||
1843 | Description: The request UID for a request to transfer funds has already been used, but with different details for the transfer. | ||
1844 | HttpStatus: 409 | ||
1845 | |||
1846 | Value: 5113 | ||
1847 | Name: BANK_WITHDRAWAL_OPERATION_RESERVE_SELECTION_CONFLICT | ||
1848 | Description: The withdrawal operation already has a reserve selected. The current request conflicts with the existing selection. | ||
1849 | HttpStatus: 409 | ||
1850 | |||
1851 | Value: 5114 | ||
1852 | Name: BANK_DUPLICATE_RESERVE_PUB_SUBJECT | ||
1853 | Description: The wire transfer subject duplicates an existing reserve public key. But wire transfer subjects must be unique. | ||
1854 | HttpStatus: 409 | ||
1855 | |||
1856 | Value: 5115 | ||
1857 | Name: BANK_ANCIENT_TRANSACTION_GONE | ||
1858 | Description: The client requested a transaction that is so far in the past, that it has been forgotten by the bank. | ||
1859 | HttpStatus: 410 | ||
1860 | |||
1861 | Value: 5116 | ||
1862 | Name: BANK_ABORT_CONFIRM_CONFLICT | ||
1863 | Description: The client attempted to abort a transaction that was already confirmed. | ||
1864 | HttpStatus: 409 | ||
1865 | |||
1866 | Value: 5117 | ||
1867 | Name: BANK_CONFIRM_ABORT_CONFLICT | ||
1868 | Description: The client attempted to confirm a transaction that was already aborted. | ||
1869 | HttpStatus: 409 | ||
1870 | |||
1871 | Value: 5118 | ||
1872 | Name: BANK_REGISTER_CONFLICT | ||
1873 | Description: The client attempted to register an account with the same name. | ||
1874 | HttpStatus: 409 | ||
1875 | |||
1876 | Value: 5119 | ||
1877 | Name: BANK_POST_WITHDRAWAL_OPERATION_REQUIRED | ||
1878 | Description: The client attempted to confirm a withdrawal operation before the wallet posted the required details. | ||
1879 | HttpStatus: 400 | ||
1880 | |||
1881 | |||
1882 | # 6000 - 6999: Reserved for sync | ||
1883 | # 6000 - 6099: Reserved for SYNC_GENERIC | ||
1884 | |||
1885 | Value: 6100 | ||
1886 | Name: SYNC_ACCOUNT_UNKNOWN | ||
1887 | Description: The sync service failed find the account in its database. | ||
1888 | HttpStatus: 404 | ||
1889 | |||
1890 | Value: 6101 | ||
1891 | Name: SYNC_BAD_IF_NONE_MATCH | ||
1892 | Description: The SHA-512 hash provided in the If-None-Match header is malformed. | ||
1893 | HttpStatus: 400 | ||
1894 | |||
1895 | Value: 6102 | ||
1896 | Name: SYNC_BAD_IF_MATCH | ||
1897 | Description: The SHA-512 hash provided in the If-Match header is malformed or missing. | ||
1898 | HttpStatus: 400 | ||
1899 | |||
1900 | Value: 6103 | ||
1901 | Name: SYNC_BAD_SYNC_SIGNATURE | ||
1902 | Description: The signature provided in the "Sync-Signature" header is malformed or missing. | ||
1903 | HttpStatus: 400 | ||
1904 | |||
1905 | Value: 6104 | ||
1906 | Name: SYNC_INVALID_SIGNATURE | ||
1907 | Description: The signature provided in the "Sync-Signature" header does not match the account, old or new Etags. | ||
1908 | HttpStatus: 403 | ||
1909 | |||
1910 | Value: 6105 | ||
1911 | Name: SYNC_MALFORMED_CONTENT_LENGTH | ||
1912 | Description: The "Content-length" field for the upload is not a number. | ||
1913 | HttpStatus: 400 | ||
1914 | |||
1915 | Value: 6106 | ||
1916 | Name: SYNC_EXCESSIVE_CONTENT_LENGTH | ||
1917 | Description: The "Content-length" field for the upload is too big based on the server's terms of service. | ||
1918 | HttpStatus: 413 | ||
1919 | |||
1920 | Value: 6107 | ||
1921 | Name: SYNC_OUT_OF_MEMORY_ON_CONTENT_LENGTH | ||
1922 | Description: The server is out of memory to handle the upload. Trying again later may succeed. | ||
1923 | HttpStatus: 413 | ||
1924 | |||
1925 | Value: 6108 | ||
1926 | Name: SYNC_INVALID_UPLOAD | ||
1927 | Description: The uploaded data does not match the Etag. | ||
1928 | HttpStatus: 400 | ||
1929 | |||
1930 | Value: 6109 | ||
1931 | Name: SYNC_PAYMENT_GENERIC_TIMEOUT | ||
1932 | Description: HTTP server experienced a timeout while awaiting promised payment. | ||
1933 | HttpStatus: 408 | ||
1934 | |||
1935 | Value: 6110 | ||
1936 | Name: SYNC_PAYMENT_CREATE_BACKEND_ERROR | ||
1937 | Description: Sync could not setup the payment request with its own backend. | ||
1938 | HttpStatus: 500 | ||
1939 | |||
1940 | Value: 6111 | ||
1941 | Name: SYNC_PREVIOUS_BACKUP_UNKNOWN | ||
1942 | Description: The sync service failed find the backup to be updated in its database. | ||
1943 | HttpStatus: 404 | ||
1944 | |||
1945 | Value: 6112 | ||
1946 | Name: SYNC_MISSING_CONTENT_LENGTH | ||
1947 | Description: The "Content-length" field for the upload is missing. | ||
1948 | HttpStatus: 400 | ||
1949 | |||
1950 | Value: 6113 | ||
1951 | Name: SYNC_GENERIC_BACKEND_ERROR | ||
1952 | Description: Sync had problems communicating with its payment backend. | ||
1953 | HttpStatus: 502 | ||
1954 | |||
1955 | Value: 6114 | ||
1956 | Name: SYNC_GENERIC_BACKEND_TIMEOUT | ||
1957 | Description: Sync experienced a timeout communicating with its payment backend. | ||
1958 | HttpStatus: 504 | ||
1959 | |||
1960 | |||
1961 | |||
1962 | # 7000 - 7999: Reserved for wallet | ||
1963 | |||
1964 | Value: 7000 | ||
1965 | Name: WALLET_EXCHANGE_PROTOCOL_VERSION_INCOMPATIBLE | ||
1966 | Description: The wallet does not implement a version of the exchange protocol that is compatible with the protocol version of the exchange. | ||
1967 | HttpStatus: 501 | ||
1968 | |||
1969 | Value: 7001 | ||
1970 | Name: WALLET_UNEXPECTED_EXCEPTION | ||
1971 | Description: The wallet encountered an unexpected exception. This is likely a bug in the wallet implementation. | ||
1972 | HttpStatus: 500 | ||
1973 | |||
1974 | Value: 7002 | ||
1975 | Name: WALLET_RECEIVED_MALFORMED_RESPONSE | ||
1976 | Description: The wallet received a response from a server, but the response can't be parsed. | ||
1977 | HttpStatus: 0 | ||
1978 | |||
1979 | Value: 7003 | ||
1980 | Name: WALLET_NETWORK_ERROR | ||
1981 | Description: The wallet tried to make a network request, but it received no response. | ||
1982 | HttpStatus: 0 | ||
1983 | |||
1984 | Value: 7004 | ||
1985 | Name: WALLET_HTTP_REQUEST_THROTTLED | ||
1986 | Description: The wallet tried to make a network request, but it was throttled. | ||
1987 | HttpStatus: 0 | ||
1988 | |||
1989 | Value: 7005 | ||
1990 | Name: WALLET_UNEXPECTED_REQUEST_ERROR | ||
1991 | Description: The wallet made a request to a service, but received an error response it does not know how to handle. | ||
1992 | HttpStatus: 0 | ||
1993 | |||
1994 | Value: 7006 | ||
1995 | Name: WALLET_EXCHANGE_DENOMINATIONS_INSUFFICIENT | ||
1996 | Description: The denominations offered by the exchange are insufficient. Likely the exchange is badly configured or not maintained. | ||
1997 | HttpStatus: 0 | ||
1998 | |||
1999 | Value: 7007 | ||
2000 | Name: WALLET_CORE_API_OPERATION_UNKNOWN | ||
2001 | Description: The wallet does not support the operation requested by a client. | ||
2002 | HttpStatus: 0 | ||
2003 | |||
2004 | Value: 7008 | ||
2005 | Name: WALLET_INVALID_TALER_PAY_URI | ||
2006 | Description: The given taler://pay URI is invalid. | ||
2007 | HttpStatus: 0 | ||
2008 | |||
2009 | Value: 7009 | ||
2010 | Name: WALLET_EXCHANGE_COIN_SIGNATURE_INVALID | ||
2011 | Description: The signature on a coin by the exchange's denomination key is invalid after unblinding it. | ||
2012 | HttpStatus: 0 | ||
2013 | |||
2014 | Value: 7010 | ||
2015 | Name: WALLET_EXCHANGE_WITHDRAW_RESERVE_UNKNOWN_AT_EXCHANGE | ||
2016 | Description: The exchange does not know about the reserve (yet), and thus withdrawal can't progress. | ||
2017 | HttpStatus: 404 | ||
2018 | |||
2019 | Value: 7011 | ||
2020 | Name: WALLET_CORE_NOT_AVAILABLE | ||
2021 | Description: The wallet core service is not available. | ||
2022 | HttpStatus: 0 | ||
2023 | |||
2024 | Value: 7012 | ||
2025 | Name: WALLET_WITHDRAWAL_OPERATION_ABORTED_BY_BANK | ||
2026 | Description: The bank has aborted a withdrawal operation, and thus a withdrawal can't complete. | ||
2027 | HttpStatus: 0 | ||
2028 | |||
2029 | Value: 7013 | ||
2030 | Name: WALLET_HTTP_REQUEST_GENERIC_TIMEOUT | ||
2031 | Description: An HTTP request made by the wallet timed out. | ||
2032 | HttpStatus: 0 | ||
2033 | |||
2034 | Value: 7014 | ||
2035 | Name: WALLET_ORDER_ALREADY_CLAIMED | ||
2036 | Description: The order has already been claimed by another wallet. | ||
2037 | HttpStatus: 0 | ||
2038 | |||
2039 | Value: 7015 | ||
2040 | Name: WALLET_WITHDRAWAL_GROUP_INCOMPLETE | ||
2041 | Description: A group of withdrawal operations (typically for the same reserve at the same exchange) has errors and will be tried again later. | ||
2042 | HttpStatus: 0 | ||
2043 | |||
2044 | Value: 7016 | ||
2045 | Name: WALLET_TIPPING_COIN_SIGNATURE_INVALID | ||
2046 | Description: The signature on a coin by the exchange's denomination key (obtained through the merchant via tipping) is invalid after unblinding it. | ||
2047 | HttpStatus: 0 | ||
2048 | |||
2049 | Value: 7017 | ||
2050 | Name: WALLET_BANK_INTEGRATION_PROTOCOL_VERSION_INCOMPATIBLE | ||
2051 | Description: The wallet does not implement a version of the bank integration API that is compatible with the version offered by the bank. | ||
2052 | HttpStatus: 0 | ||
2053 | |||
2054 | Value: 7018 | ||
2055 | Name: WALLET_CONTRACT_TERMS_BASE_URL_MISMATCH | ||
2056 | Description: The wallet processed a taler://pay URI, but the merchant base URL in the downloaded contract terms does not match the merchant base URL derived from the URI. | ||
2057 | HttpStatus: 0 | ||
2058 | |||
2059 | Value: 7019 | ||
2060 | Name: WALLET_CONTRACT_TERMS_SIGNATURE_INVALID | ||
2061 | Description: The merchant's signature on the contract terms is invalid. | ||
2062 | HttpStatus: 0 | ||
2063 | |||
2064 | Value: 7020 | ||
2065 | Name: WALLET_CONTRACT_TERMS_MALFORMED | ||
2066 | Description: The contract terms given by the merchant are malformed. | ||
2067 | HttpStatus: 0 | ||
2068 | |||
2069 | Value: 7021 | ||
2070 | Name: WALLET_PENDING_OPERATION_FAILED | ||
2071 | Description: A pending operation failed, and thus the request can't be completed. | ||
2072 | HttpStatus: 0 | ||
2073 | |||
2074 | Value: 7022 | ||
2075 | Name: WALLET_PAY_MERCHANT_SERVER_ERROR | ||
2076 | Description: A payment was attempted, but the merchant had an internal server error (5xx). | ||
2077 | HttpStatus: 0 | ||
2078 | |||
2079 | Value: 7023 | ||
2080 | Name: WALLET_CRYPTO_WORKER_ERROR | ||
2081 | Description: The crypto worker failed. | ||
2082 | HttpStatus: 0 | ||
2083 | |||
2084 | Value: 7024 | ||
2085 | Name: WALLET_CRYPTO_WORKER_BAD_REQUEST | ||
2086 | Description: The crypto worker received a bad request. | ||
2087 | HttpStatus: 0 | ||
2088 | |||
2089 | Value: 7025 | ||
2090 | Name: WALLET_WITHDRAWAL_KYC_REQUIRED | ||
2091 | Description: A KYC step is required before withdrawal can proceed. | ||
2092 | HttpStatus: 0 | ||
2093 | |||
2094 | |||
2095 | # 8000 - 8999: Reserved for Anastasis | ||
2096 | |||
2097 | Value: 8000 | ||
2098 | Name: ANASTASIS_GENERIC_BACKEND_TIMEOUT | ||
2099 | Description: We encountered a timeout with our payment backend. | ||
2100 | HttpStatus: 504 | ||
2101 | |||
2102 | Value: 8001 | ||
2103 | Name: ANASTASIS_GENERIC_INVALID_PAYMENT_REQUEST | ||
2104 | Description: The backend requested payment, but the request is malformed. | ||
2105 | HttpStatus: 0 | ||
2106 | |||
2107 | Value: 8002 | ||
2108 | Name: ANASTASIS_GENERIC_BACKEND_ERROR | ||
2109 | Description: The backend got an unexpected reply from the payment processor. | ||
2110 | HttpStatus: 502 | ||
2111 | |||
2112 | Value: 8003 | ||
2113 | Name: ANASTASIS_GENERIC_MISSING_CONTENT_LENGTH | ||
2114 | Description: The "Content-length" field for the upload is missing. | ||
2115 | HttpStatus: 400 | ||
2116 | |||
2117 | Value: 8004 | ||
2118 | Name: ANASTASIS_GENERIC_MALFORMED_CONTENT_LENGTH | ||
2119 | Description: The "Content-length" field for the upload is malformed. | ||
2120 | HttpStatus: 400 | ||
2121 | |||
2122 | Value: 8005 | ||
2123 | Name: ANASTASIS_GENERIC_ORDER_CREATE_BACKEND_ERROR | ||
2124 | Description: The backend failed to setup an order with the payment processor. | ||
2125 | HttpStatus: 502 | ||
2126 | |||
2127 | Value: 8006 | ||
2128 | Name: ANASTASIS_GENERIC_PAYMENT_CHECK_UNAUTHORIZED | ||
2129 | Description: The backend was not authorized to check for payment with the payment processor. | ||
2130 | HttpStatus: 500 | ||
2131 | |||
2132 | Value: 8007 | ||
2133 | Name: ANASTASIS_GENERIC_PAYMENT_CHECK_START_FAILED | ||
2134 | Description: The backend could not check payment status with the payment processor. | ||
2135 | HttpStatus: 500 | ||
2136 | |||
2137 | Value: 8008 | ||
2138 | Name: ANASTASIS_GENERIC_PROVIDER_UNREACHABLE | ||
2139 | Description: The Anastasis provider could not be reached. | ||
2140 | HttpStatus: 0 | ||
2141 | |||
2142 | Value: 8009 | ||
2143 | Name: ANASTASIS_PAYMENT_GENERIC_TIMEOUT | ||
2144 | Description: HTTP server experienced a timeout while awaiting promised payment. | ||
2145 | HttpStatus: 408 | ||
2146 | |||
2147 | |||
2148 | Value: 8108 | ||
2149 | Name: ANASTASIS_TRUTH_UNKNOWN | ||
2150 | Description: The key share is unknown to the provider. | ||
2151 | HttpStatus: 404 | ||
2152 | |||
2153 | Value: 8109 | ||
2154 | Name: ANASTASIS_TRUTH_AUTHORIZATION_METHOD_NO_LONGER_SUPPORTED | ||
2155 | Description: The authorization method used for the key share is no longer supported by the provider. | ||
2156 | HttpStatus: 500 | ||
2157 | |||
2158 | Value: 8110 | ||
2159 | Name: ANASTASIS_TRUTH_CHALLENGE_RESPONSE_REQUIRED | ||
2160 | Description: The client needs to respond to the challenge. | ||
2161 | HttpStatus: 403 | ||
2162 | |||
2163 | Value: 8111 | ||
2164 | Name: ANASTASIS_TRUTH_CHALLENGE_FAILED | ||
2165 | Description: The client's response to the challenge was invalid. | ||
2166 | HttpStatus: 403 | ||
2167 | |||
2168 | Value: 8112 | ||
2169 | Name: ANASTASIS_TRUTH_CHALLENGE_UNKNOWN | ||
2170 | Description: The backend is not aware of having issued the provided challenge code. Either this is the wrong code, or it has expired. | ||
2171 | HttpStatus: 404 | ||
2172 | |||
2173 | Value: 8114 | ||
2174 | Name: ANASTASIS_TRUTH_AUTHORIZATION_START_FAILED | ||
2175 | Description: The backend failed to initiate the authorization process. | ||
2176 | HttpStatus: 500 | ||
2177 | |||
2178 | Value: 8115 | ||
2179 | Name: ANASTASIS_TRUTH_KEY_SHARE_GONE | ||
2180 | Description: The authorization succeeded, but the key share is no longer available. | ||
2181 | HttpStatus: 404 | ||
2182 | |||
2183 | Value: 8116 | ||
2184 | Name: ANASTASIS_TRUTH_ORDER_DISAPPEARED | ||
2185 | Description: The backend forgot the order we asked the client to pay for | ||
2186 | HttpStatus: 502 | ||
2187 | |||
2188 | Value: 8117 | ||
2189 | Name: ANASTASIS_TRUTH_BACKEND_EXCHANGE_BAD | ||
2190 | Description: The backend itself reported a bad exchange interaction. | ||
2191 | HttpStatus: 502 | ||
2192 | |||
2193 | Value: 8118 | ||
2194 | Name: ANASTASIS_TRUTH_UNEXPECTED_PAYMENT_STATUS | ||
2195 | Description: The backend reported a payment status we did not expect. | ||
2196 | HttpStatus: 500 | ||
2197 | |||
2198 | Value: 8119 | ||
2199 | Name: ANASTASIS_TRUTH_PAYMENT_CREATE_BACKEND_ERROR | ||
2200 | Description: The backend failed to setup the order for payment. | ||
2201 | HttpStatus: 502 | ||
2202 | |||
2203 | Value: 8120 | ||
2204 | Name: ANASTASIS_TRUTH_DECRYPTION_FAILED | ||
2205 | Description: The decryption of the key share failed with the provided key. | ||
2206 | HttpStatus: 400 | ||
2207 | |||
2208 | Value: 8121 | ||
2209 | Name: ANASTASIS_TRUTH_RATE_LIMITED | ||
2210 | Description: The request rate is too high. The server is refusing requests to guard against brute-force attacks. | ||
2211 | HttpStatus: 429 | ||
2212 | |||
2213 | Value: 8123 | ||
2214 | Name: ANASTASIS_TRUTH_CHALLENGE_WRONG_METHOD | ||
2215 | Description: A request to issue a challenge is not valid for this authentication method. | ||
2216 | HttpStatus: 400 | ||
2217 | |||
2218 | Value: 8150 | ||
2219 | Name: ANASTASIS_TRUTH_UPLOAD_UUID_EXISTS | ||
2220 | Description: The backend failed to store the key share because the UUID is already in use. | ||
2221 | HttpStatus: 409 | ||
2222 | |||
2223 | Value: 8151 | ||
2224 | Name: ANASTASIS_TRUTH_UPLOAD_METHOD_NOT_SUPPORTED | ||
2225 | Description: The backend failed to store the key share because the authorization method is not supported. | ||
2226 | HttpStatus: 400 | ||
2227 | |||
2228 | |||
2229 | |||
2230 | Value: 8200 | ||
2231 | Name: ANASTASIS_SMS_PHONE_INVALID | ||
2232 | Description: The provided phone number is not an acceptable number. | ||
2233 | HttpStatus: 409 | ||
2234 | |||
2235 | Value: 8201 | ||
2236 | Name: ANASTASIS_SMS_HELPER_EXEC_FAILED | ||
2237 | Description: Failed to run the SMS transmission helper process. | ||
2238 | HttpStatus: 500 | ||
2239 | |||
2240 | Value: 8202 | ||
2241 | Name: ANASTASIS_SMS_HELPER_COMMAND_FAILED | ||
2242 | Description: Provider failed to send SMS. Helper terminated with a non-successful result. | ||
2243 | HttpStatus: 500 | ||
2244 | |||
2245 | |||
2246 | Value: 8210 | ||
2247 | Name: ANASTASIS_EMAIL_INVALID | ||
2248 | Description: The provided email address is not an acceptable address. | ||
2249 | HttpStatus: 409 | ||
2250 | |||
2251 | Value: 8211 | ||
2252 | Name: ANASTASIS_EMAIL_HELPER_EXEC_FAILED | ||
2253 | Description: Failed to run the E-mail transmission helper process. | ||
2254 | HttpStatus: 500 | ||
2255 | |||
2256 | Value: 8212 | ||
2257 | Name: ANASTASIS_EMAIL_HELPER_COMMAND_FAILED | ||
2258 | Description: Provider failed to send E-mail. Helper terminated with a non-successful result. | ||
2259 | HttpStatus: 500 | ||
2260 | |||
2261 | |||
2262 | Value: 8220 | ||
2263 | Name: ANASTASIS_POST_INVALID | ||
2264 | Description: The provided postal address is not an acceptable address. | ||
2265 | HttpStatus: 409 | ||
2266 | |||
2267 | Value: 8221 | ||
2268 | Name: ANASTASIS_POST_HELPER_EXEC_FAILED | ||
2269 | Description: Failed to run the mail transmission helper process. | ||
2270 | HttpStatus: 500 | ||
2271 | |||
2272 | Value: 8222 | ||
2273 | Name: ANASTASIS_POST_HELPER_COMMAND_FAILED | ||
2274 | Description: Provider failed to send mail. Helper terminated with a non-successful result. | ||
2275 | HttpStatus: 500 | ||
2276 | |||
2277 | |||
2278 | Value: 8230 | ||
2279 | Name: ANASTASIS_IBAN_INVALID | ||
2280 | Description: The provided IBAN address is not an acceptable IBAN. | ||
2281 | HttpStatus: 409 | ||
2282 | |||
2283 | Value: 8231 | ||
2284 | Name: ANASTASIS_IBAN_MISSING_TRANSFER | ||
2285 | Description: The provider has not yet received the IBAN wire transfer authorizing the disclosure of the key share. | ||
2286 | HttpStatus: 403 | ||
2287 | |||
2288 | |||
2289 | Value: 8240 | ||
2290 | Name: ANASTASIS_TOTP_KEY_MISSING | ||
2291 | Description: The backend did not find a TOTP key in the data provided. | ||
2292 | HttpStatus: 409 | ||
2293 | |||
2294 | Value: 8241 | ||
2295 | Name: ANASTASIS_TOTP_KEY_INVALID | ||
2296 | Description: The key provided does not satisfy the format restrictions for an Anastasis TOTP key. | ||
2297 | HttpStatus: 409 | ||
2298 | |||
2299 | |||
2300 | Value: 8301 | ||
2301 | Name: ANASTASIS_POLICY_BAD_IF_NONE_MATCH | ||
2302 | Description: The given if-none-match header is malformed. | ||
2303 | HttpStatus: 400 | ||
2304 | |||
2305 | Value: 8304 | ||
2306 | Name: ANASTASIS_POLICY_OUT_OF_MEMORY_ON_CONTENT_LENGTH | ||
2307 | Description: The server is out of memory to handle the upload. Trying again later may succeed. | ||
2308 | HttpStatus: 413 | ||
2309 | |||
2310 | Value: 8305 | ||
2311 | Name: ANASTASIS_POLICY_BAD_SIGNATURE | ||
2312 | Description: The signature provided in the "Anastasis-Policy-Signature" header is malformed or missing. | ||
2313 | HttpStatus: 400 | ||
2314 | |||
2315 | Value: 8306 | ||
2316 | Name: ANASTASIS_POLICY_BAD_IF_MATCH | ||
2317 | Description: The given if-match header is malformed. | ||
2318 | HttpStatus: 400 | ||
2319 | |||
2320 | Value: 8307 | ||
2321 | Name: ANASTASIS_POLICY_INVALID_UPLOAD | ||
2322 | Description: The uploaded data does not match the Etag. | ||
2323 | HttpStatus: 400 | ||
2324 | |||
2325 | Value: 8350 | ||
2326 | Name: ANASTASIS_POLICY_NOT_FOUND | ||
2327 | Description: The provider is unaware of the requested policy. | ||
2328 | HttpStatus: 404 | ||
2329 | |||
2330 | |||
2331 | |||
2332 | Value: 8400 | ||
2333 | Name: ANASTASIS_REDUCER_ACTION_INVALID | ||
2334 | Description: The given action is invalid for the current state of the reducer. | ||
2335 | HttpStatus: 0 | ||
2336 | |||
2337 | Value: 8401 | ||
2338 | Name: ANASTASIS_REDUCER_STATE_INVALID | ||
2339 | Description: The given state of the reducer is invalid. | ||
2340 | HttpStatus: 0 | ||
2341 | |||
2342 | Value: 8402 | ||
2343 | Name: ANASTASIS_REDUCER_INPUT_INVALID | ||
2344 | Description: The given input to the reducer is invalid. | ||
2345 | HttpStatus: 0 | ||
2346 | |||
2347 | Value: 8403 | ||
2348 | Name: ANASTASIS_REDUCER_AUTHENTICATION_METHOD_NOT_SUPPORTED | ||
2349 | Description: The selected authentication method does not work for the Anastasis provider. | ||
2350 | HttpStatus: 0 | ||
2351 | |||
2352 | Value: 8404 | ||
2353 | Name: ANASTASIS_REDUCER_INPUT_INVALID_FOR_STATE | ||
2354 | Description: The given input and action do not work for the current state. | ||
2355 | HttpStatus: 0 | ||
2356 | |||
2357 | Value: 8405 | ||
2358 | Name: ANASTASIS_REDUCER_BACKEND_FAILURE | ||
2359 | Description: We experienced an unexpected failure interacting with the backend. | ||
2360 | HttpStatus: 0 | ||
2361 | |||
2362 | Value: 8406 | ||
2363 | Name: ANASTASIS_REDUCER_RESOURCE_MALFORMED | ||
2364 | Description: The contents of a resource file did not match our expectations. | ||
2365 | HttpStatus: 0 | ||
2366 | |||
2367 | Value: 8407 | ||
2368 | Name: ANASTASIS_REDUCER_RESOURCE_MISSING | ||
2369 | Description: A required resource file is missing. | ||
2370 | HttpStatus: 0 | ||
2371 | |||
2372 | Value: 8408 | ||
2373 | Name: ANASTASIS_REDUCER_INPUT_REGEX_FAILED | ||
2374 | Description: An input did not match the regular expression. | ||
2375 | HttpStatus: 0 | ||
2376 | |||
2377 | Value: 8409 | ||
2378 | Name: ANASTASIS_REDUCER_INPUT_VALIDATION_FAILED | ||
2379 | Description: An input did not match the custom validation logic. | ||
2380 | HttpStatus: 0 | ||
2381 | |||
2382 | Value: 8410 | ||
2383 | Name: ANASTASIS_REDUCER_POLICY_LOOKUP_FAILED | ||
2384 | 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. | ||
2385 | HttpStatus: 0 | ||
2386 | |||
2387 | Value: 8411 | ||
2388 | Name: ANASTASIS_REDUCER_BACKUP_PROVIDER_FAILED | ||
2389 | Description: Anastasis provider reported a fatal failure. | ||
2390 | HttpStatus: 0 | ||
2391 | |||
2392 | Value: 8412 | ||
2393 | Name: ANASTASIS_REDUCER_PROVIDER_CONFIG_FAILED | ||
2394 | Description: Anastasis provider failed to respond to the configuration request. | ||
2395 | HttpStatus: 0 | ||
2396 | |||
2397 | Value: 8413 | ||
2398 | Name: ANASTASIS_REDUCER_POLICY_MALFORMED | ||
2399 | Description: The policy we downloaded is malformed. Must have been a client error while creating the backup. | ||
2400 | HttpStatus: 0 | ||
2401 | |||
2402 | Value: 8414 | ||
2403 | Name: ANASTASIS_REDUCER_NETWORK_FAILED | ||
2404 | Description: We failed to obtain the policy, likely due to a network issue. | ||
2405 | HttpStatus: 0 | ||
2406 | |||
2407 | Value: 8415 | ||
2408 | Name: ANASTASIS_REDUCER_SECRET_MALFORMED | ||
2409 | Description: The recovered secret did not match the required syntax. | ||
2410 | HttpStatus: 0 | ||
2411 | |||
2412 | Value: 8416 | ||
2413 | Name: ANASTASIS_REDUCER_CHALLENGE_DATA_TOO_BIG | ||
2414 | Description: The challenge data provided is too large for the available providers. | ||
2415 | HttpStatus: 0 | ||
2416 | |||
2417 | Value: 8417 | ||
2418 | Name: ANASTASIS_REDUCER_SECRET_TOO_BIG | ||
2419 | Description: The provided core secret is too large for some of the providers. | ||
2420 | HttpStatus: 0 | ||
2421 | |||
2422 | Value: 8418 | ||
2423 | Name: ANASTASIS_REDUCER_PROVIDER_INVALID_CONFIG | ||
2424 | Description: The provider returned in invalid configuration. | ||
2425 | HttpStatus: 0 | ||
2426 | |||
2427 | Value: 8419 | ||
2428 | Name: ANASTASIS_REDUCER_INTERNAL_ERROR | ||
2429 | Description: The reducer encountered an internal error, likely a bug that needs to be reported. | ||
2430 | HttpStatus: 0 | ||
2431 | |||
2432 | Value: 8420 | ||
2433 | Name: ANASTASIS_REDUCER_PROVIDERS_ALREADY_SYNCED | ||
2434 | Description: The reducer already synchronized with all providers. | ||
2435 | HttpStatus: 0 | ||
2436 | |||
2437 | |||
2438 | # 9000 - 9599: LibEuFin. | ||
2439 | |||
2440 | Value: 9000 | ||
2441 | Name: LIBEUFIN_NEXUS_GENERIC_ERROR | ||
2442 | Description: A generic error happened in the LibEuFin nexus. See the enclose details JSON for more information. | ||
2443 | HttpStatus: 0 | ||
2444 | |||
2445 | Value: 9001 | ||
2446 | Name: LIBEUFIN_NEXUS_UNCAUGHT_EXCEPTION | ||
2447 | Description: An uncaught exception happened in the LibEuFin nexus service. | ||
2448 | HttpStatus: 500 | ||
2449 | |||
2450 | Value: 9500 | ||
2451 | Name: LIBEUFIN_SANDBOX_GENERIC_ERROR | ||
2452 | Description: A generic error happened in the LibEuFin sandbox. See the enclose details JSON for more information. | ||
2453 | HttpStatus: 0 | ||
2454 | |||
2455 | Value: 9501 | ||
2456 | Name: LIBEUFIN_SANDBOX_UNCAUGHT_EXCEPTION | ||
2457 | Description: An uncaught exception happened in the LibEuFin sandbox service. | ||
2458 | HttpStatus: 500 | ||
2459 | |||
2460 | # 9600 - 9749: Taldir | ||
2461 | Value: 9600 | ||
2462 | Name: TALDIR_METHOD_NOT_SUPPORTED | ||
2463 | Description: This validation method is not supported by the service. | ||
2464 | HttpStatus: 404 | ||
2465 | |||
2466 | Value: 9601 | ||
2467 | Name: TALDIR_REGISTER_RATE_LIMITED | ||
2468 | Description: Number of allowed attempts for initiating a challenge exceeded. | ||
2469 | HttpStatus: 429 | ||
2470 | |||
2471 | # Some of our build systems expect the range to be < 10k, so let's keep it like this for now. | ||
2472 | Value: 9999 | ||
2473 | Name: END | ||
2474 | Description: End of error code range. | ||
2475 | HttpStatus: 0 | ||
diff --git a/gnu-taler-error-codes/.#registry.rec b/gnu-taler-error-codes/.#registry.rec new file mode 120000 index 0000000..15721f1 --- /dev/null +++ b/gnu-taler-error-codes/.#registry.rec | |||
@@ -0,0 +1 @@ | |||
priscilla@dhcp-147-87-107-42.1382:1669107738 \ No newline at end of file | |||