diff options
Diffstat (limited to 'gnu-taler-error-codes/registry.rec')
-rw-r--r-- | gnu-taler-error-codes/registry.rec | 1025 |
1 files changed, 883 insertions, 142 deletions
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec index fe8d7c4..0de4c76 100644 --- a/gnu-taler-error-codes/registry.rec +++ b/gnu-taler-error-codes/registry.rec | |||
@@ -4,7 +4,9 @@ | |||
4 | # | 4 | # |
5 | %rec: TalerErrorCode | 5 | %rec: TalerErrorCode |
6 | %key: Value | 6 | %key: Value |
7 | %singular: Value | ||
7 | %typedef: ValueRange_t range 0 9999 | 8 | %typedef: ValueRange_t range 0 9999 |
9 | %typedef: ValueRange_t regexp /^[0123456789][0123456789][0123456789][0123456789]$/ | ||
8 | %constraint: ( Value < 100 ) || ( Value > 999 ) | 10 | %constraint: ( Value < 100 ) || ( Value > 999 ) |
9 | %type: Value ValueRange_t | 11 | %type: Value ValueRange_t |
10 | %mandatory: Value | 12 | %mandatory: Value |
@@ -15,6 +17,7 @@ | |||
15 | %type: Name Name_t | 17 | %type: Name Name_t |
16 | %unique: Name | 18 | %unique: Name |
17 | %mandatory: Name | 19 | %mandatory: Name |
20 | %singular: Name | ||
18 | # A status of 0 means not an HTTP status (i.e. created client-side) | 21 | # A status of 0 means not an HTTP status (i.e. created client-side) |
19 | %type: HttpStatus rec HttpStatusCode | 22 | %type: HttpStatus rec HttpStatusCode |
20 | %mandatory: HttpStatus | 23 | %mandatory: HttpStatus |
@@ -22,200 +25,248 @@ | |||
22 | 25 | ||
23 | # 0 - 99: Reserved for GENERIC error codes | 26 | # 0 - 99: Reserved for GENERIC error codes |
24 | 27 | ||
25 | Value: 0 | 28 | Value: 0000 |
26 | Name: NONE | 29 | Name: NONE |
27 | Description: Special code to indicate success (no error). | 30 | Description: Special code to indicate success (no error). |
28 | HttpStatus: 0 | 31 | HttpStatus: 0 |
29 | 32 | ||
30 | # We could not get the error code. | 33 | # We could not get the error code. |
31 | 34 | Value: 0001 | |
32 | Value: 1 | ||
33 | Name: INVALID | 35 | Name: INVALID |
34 | Description: A non-integer error code was returned in the JSON response. | 36 | Description: An error response did not include an error code in the format expected by the client. Most likely, the server does not speak the GNU Taler protocol. Check the URL and/or the network connection to the server. |
35 | HttpStatus: 0 | 37 | HttpStatus: 0 |
36 | 38 | ||
37 | Value: 2 | 39 | Value: 0002 |
38 | Name: GENERIC_CLIENT_INTERNAL_ERROR | 40 | Name: GENERIC_CLIENT_INTERNAL_ERROR |
39 | Description: An internal failure happened on the client side. | 41 | Description: An internal failure happened on the client side. Details should be in the local logs. Check if you are using the latest available version or file a report with the developers. |
40 | HttpStatus: 0 | 42 | HttpStatus: 0 |
41 | 43 | ||
42 | # Fundamental problems detected client-side (10-19) | 44 | # Fundamental problems detected client-side (10-19) |
43 | 45 | ||
44 | Value: 10 | 46 | Value: 0010 |
45 | Name: GENERIC_INVALID_RESPONSE | 47 | Name: GENERIC_INVALID_RESPONSE |
46 | Description: The response we got from the server was not even in JSON format. | 48 | Description: The response we got from the server was not in the expected format. Most likely, the server does not speak the GNU Taler protocol. Check the URL and/or the network connection to the server. |
47 | HttpStatus: 0 | 49 | HttpStatus: 0 |
48 | 50 | ||
49 | Value: 11 | 51 | Value: 0011 |
50 | Name: GENERIC_TIMEOUT | 52 | Name: GENERIC_TIMEOUT |
51 | Description: An operation timed out. | 53 | Description: The operation timed out. Trying again might help. Check the network connection. |
52 | HttpStatus: 0 | 54 | HttpStatus: 0 |
53 | 55 | ||
54 | Value: 12 | 56 | Value: 0012 |
55 | Name: GENERIC_VERSION_MALFORMED | 57 | Name: GENERIC_VERSION_MALFORMED |
56 | Description: The version string given does not follow the expected CURRENT:REVISION:AGE Format. | 58 | Description: The protocol version given by the server does not follow the required format. Most likely, the server does not speak the GNU Taler protocol. Check the URL and/or the network connection to the server. |
57 | HttpStatus: 0 | 59 | HttpStatus: 0 |
58 | 60 | ||
59 | Value: 13 | 61 | Value: 0013 |
60 | Name: GENERIC_REPLY_MALFORMED | 62 | Name: GENERIC_REPLY_MALFORMED |
61 | Description: The service responded with a reply that was in JSON but did not satsify the protocol. Note that invalid cryptographic signatures should have signature-specific error codes. | 63 | Description: The service responded with a reply that was in the right data format, but the content did not satisfy the protocol. Please file a bug report. |
62 | HttpStatus: 0 | 64 | HttpStatus: 0 |
63 | 65 | ||
64 | Value: 14 | 66 | Value: 0014 |
65 | Name: GENERIC_CONFIGURATION_INVALID | 67 | Name: GENERIC_CONFIGURATION_INVALID |
66 | Description: There is an error in the client-side configuration, for example the base URL specified is malformed. | 68 | Description: There is an error in the client-side configuration, for example an option is set to an invalid value. Check the logs and fix the local configuration. |
67 | HttpStatus: 0 | 69 | HttpStatus: 0 |
68 | 70 | ||
69 | Value: 15 | 71 | Value: 0015 |
70 | Name: GENERIC_UNEXPECTED_REQUEST_ERROR | 72 | Name: GENERIC_UNEXPECTED_REQUEST_ERROR |
71 | Description: The client made a request to a service, but received an error response it does not know how to handle. | 73 | Description: The client made a request to a service, but received an error response it does not know how to handle. Please file a bug report. |
72 | HttpStatus: 0 | 74 | HttpStatus: 0 |
73 | 75 | ||
76 | Value: 0016 | ||
77 | Name: GENERIC_TOKEN_PERMISSION_INSUFFICIENT | ||
78 | Description: The token used by the client to authorize the request does not grant the required permissions for the request. Check the requirements and obtain a suitable authorization token to proceed. | ||
79 | HttpStatus: 403 | ||
80 | |||
74 | # Fundamental client-side protocol problems (20-29) | 81 | # Fundamental client-side protocol problems (20-29) |
75 | # (fundamental: cannot be helped, client is very broken) | 82 | # (fundamental: cannot be helped, client is very broken) |
76 | 83 | ||
77 | Value: 20 | 84 | Value: 0020 |
78 | Name: GENERIC_METHOD_INVALID | 85 | Name: GENERIC_METHOD_INVALID |
79 | Description: The HTTP method used is invalid for this endpoint. | 86 | Description: The HTTP method used is invalid for this endpoint. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers. |
80 | HttpStatus: 405 | 87 | HttpStatus: 405 |
81 | 88 | ||
82 | Value: 21 | 89 | Value: 0021 |
83 | Name: GENERIC_ENDPOINT_UNKNOWN | 90 | Name: GENERIC_ENDPOINT_UNKNOWN |
84 | Description: There is no endpoint defined for the URL provided by the client. | 91 | Description: There is no endpoint defined for the URL provided by the client. Check if you used the correct URL and/or file a report with the developers of the client software. |
85 | HttpStatus: 404 | 92 | HttpStatus: 404 |
86 | 93 | ||
87 | Value: 22 | 94 | Value: 0022 |
88 | Name: GENERIC_JSON_INVALID | 95 | Name: GENERIC_JSON_INVALID |
89 | Description: The JSON in the client's request was malformed (generic parse error). | 96 | Description: The JSON in the client's request was malformed. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers. |
90 | HttpStatus: 400 | 97 | HttpStatus: 400 |
91 | 98 | ||
92 | Value: 23 | 99 | Value: 0023 |
93 | Name: GENERIC_HTTP_HEADERS_MALFORMED | 100 | Name: GENERIC_HTTP_HEADERS_MALFORMED |
94 | Description: Some of the HTTP headers provided by the client caused the server to not be able to handle the request. | 101 | Description: Some of the HTTP headers provided by the client were malformed and caused the server to not be able to handle the request. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers. |
95 | HttpStatus: 400 | 102 | HttpStatus: 400 |
96 | 103 | ||
97 | Value: 24 | 104 | Value: 0024 |
98 | Name: GENERIC_PAYTO_URI_MALFORMED | 105 | Name: GENERIC_PAYTO_URI_MALFORMED |
99 | Description: The payto:// URI provided by the client is malformed. | 106 | Description: The payto:// URI provided by the client is malformed. Check that you are using the correct syntax as of RFC 8905 and/or that you entered the bank account number correctly. |
100 | HttpStatus: 400 | 107 | HttpStatus: 400 |
101 | 108 | ||
102 | Value: 25 | 109 | Value: 0025 |
103 | Name: GENERIC_PARAMETER_MISSING | 110 | Name: GENERIC_PARAMETER_MISSING |
104 | Description: A required parameter in the request was missing. | 111 | Description: A required parameter in the request was missing. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers. |
105 | HttpStatus: 400 | 112 | HttpStatus: 400 |
106 | 113 | ||
107 | Value: 26 | 114 | Value: 0026 |
108 | Name: GENERIC_PARAMETER_MALFORMED | 115 | Name: GENERIC_PARAMETER_MALFORMED |
109 | Description: A parameter in the request was malformed. | 116 | Description: A parameter in the request was malformed. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers. |
110 | HttpStatus: 400 | 117 | HttpStatus: 400 |
111 | 118 | ||
119 | Value: 0027 | ||
120 | Name: GENERIC_RESERVE_PUB_MALFORMED | ||
121 | Description: The reserve public key was malformed. | ||
122 | HttpStatus: 400 | ||
123 | FIXME: Fold with 26? | ||
124 | |||
125 | Value: 0028 | ||
126 | Name: GENERIC_COMPRESSION_INVALID | ||
127 | Description: The body in the request could not be decompressed by the server. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers. | ||
128 | HttpStatus: 400 | ||
112 | 129 | ||
113 | # Circumstantial client-side protocol problems (30-39) | 130 | # Circumstantial client-side protocol problems (30-39) |
114 | # (Circumstantial == may work with another server, but not this one) | 131 | # (Circumstantial == may work with another server, but not this one) |
115 | 132 | ||
116 | Value: 30 | 133 | Value: 0030 |
117 | Name: GENERIC_CURRENCY_MISMATCH | 134 | Name: GENERIC_CURRENCY_MISMATCH |
118 | Description: The currencies involved in the operation do not match. | 135 | Description: The currency involved in the operation is not acceptable for this server. Check your configuration and make sure the currency specified for a given service provider is one of the currencies supported by that provider. |
119 | HttpStatus: 400 | 136 | HttpStatus: 400 |
120 | 137 | ||
121 | Value: 31 | 138 | Value: 0031 |
122 | Name: GENERIC_URI_TOO_LONG | 139 | Name: GENERIC_URI_TOO_LONG |
123 | Description: The URI is longer than the longest URI the HTTP server is willing to parse. | 140 | Description: The URI is longer than the longest URI the HTTP server is willing to parse. If you believe this was a legitimate request, contact the server administrators and/or the software developers to increase the limit. |
124 | HttpStatus: 414 | 141 | HttpStatus: 414 |
125 | 142 | ||
126 | Value: 32 | 143 | Value: 0032 |
127 | Name: GENERIC_UPLOAD_EXCEEDS_LIMIT | 144 | Name: GENERIC_UPLOAD_EXCEEDS_LIMIT |
128 | Description: The body is too large to be permissible for the endpoint. | 145 | Description: The body is too large to be permissible for the endpoint. If you believe this was a legitimate request, contact the server administrators and/or the software developers to increase the limit. |
129 | HttpStatus: 413 | 146 | HttpStatus: 413 |
130 | 147 | ||
131 | 148 | ||
132 | # 40-49: available for future use | 149 | # 40-49: access control issues |
150 | Value: 0040 | ||
151 | Name: GENERIC_UNAUTHORIZED | ||
152 | Description: The service refused the request due to lack of proper authorization. | ||
153 | HttpStatus: 401 | ||
133 | 154 | ||
155 | Value: 0041 | ||
156 | Name: GENERIC_TOKEN_UNKNOWN | ||
157 | Description: The service refused the request as the given authorization token is unknown. | ||
158 | HttpStatus: 401 | ||
134 | 159 | ||
160 | Value: 0042 | ||
161 | Name: GENERIC_TOKEN_EXPIRED | ||
162 | Description: The service refused the request as the given authorization token expired. | ||
163 | HttpStatus: 401 | ||
164 | |||
165 | Value: 0043 | ||
166 | Name: GENERIC_TOKEN_MALFORMED | ||
167 | Description: The service refused the request as the given authorization token is malformed. | ||
168 | HttpStatus: 401 | ||
169 | |||
170 | Value: 0044 | ||
171 | Name: GENERIC_FORBIDDEN | ||
172 | Description: The service refused the request due to lack of proper rights on the resource. | ||
173 | HttpStatus: 403 | ||
135 | 174 | ||
136 | # Server-side database problems (50-59) | 175 | # Server-side database problems (50-59) |
137 | 176 | ||
138 | Value: 50 | 177 | Value: 0050 |
139 | Name: GENERIC_DB_SETUP_FAILED | 178 | Name: GENERIC_DB_SETUP_FAILED |
140 | Description: The service failed initialize its connection to the database. | 179 | Description: The service failed initialize its connection to the database. The system administrator should check that the service has permissions to access the database and that the database is running. |
141 | HttpStatus: 500 | 180 | HttpStatus: 500 |
142 | 181 | ||
143 | Value: 51 | 182 | Value: 0051 |
144 | Name: GENERIC_DB_START_FAILED | 183 | Name: GENERIC_DB_START_FAILED |
145 | Description: The service encountered an error event to just start the database transaction. | 184 | Description: The service encountered an error event to just start the database transaction. The system administrator should check that the database is running. |
146 | HttpStatus: 500 | 185 | HttpStatus: 500 |
147 | 186 | ||
148 | Value: 52 | 187 | Value: 0052 |
149 | Name: GENERIC_DB_STORE_FAILED | 188 | Name: GENERIC_DB_STORE_FAILED |
150 | Description: The service failed to store information in its database. | 189 | Description: The service failed to store information in its database. The system administrator should check that the database is running and review the service logs. |
151 | HttpStatus: 500 | 190 | HttpStatus: 500 |
152 | 191 | ||
153 | Value: 53 | 192 | Value: 0053 |
154 | Name: GENERIC_DB_FETCH_FAILED | 193 | Name: GENERIC_DB_FETCH_FAILED |
155 | Description: The service failed to fetch information from its database. | 194 | Description: The service failed to fetch information from its database. The system administrator should check that the database is running and review the service logs. |
156 | HttpStatus: 500 | 195 | HttpStatus: 500 |
157 | 196 | ||
158 | Value: 54 | 197 | Value: 0054 |
159 | Name: GENERIC_DB_COMMIT_FAILED | 198 | Name: GENERIC_DB_COMMIT_FAILED |
160 | Description: The service encountered an error event to commit the database transaction (hard, unrecoverable error). | 199 | Description: The service encountered an unrecoverable error trying to commit a transaction to the database. The system administrator should check that the database is running and review the service logs. |
161 | HttpStatus: 500 | 200 | HttpStatus: 500 |
162 | 201 | ||
163 | Value: 55 | 202 | Value: 0055 |
164 | Name: GENERIC_DB_SOFT_FAILURE | 203 | Name: GENERIC_DB_SOFT_FAILURE |
165 | Description: The service encountered an error event to commit the database transaction, even after repeatedly retrying it there was always a conflicting transaction. (This indicates a repeated serialization error; should only happen if some client maliciously tries to create conflicting concurrent transactions.) | 204 | Description: The service encountered an error event to commit the database transaction, even after repeatedly retrying it there was always a conflicting transaction. This indicates a repeated serialization error; it should only happen if some client maliciously tries to create conflicting concurrent transactions. It could also be a sign of a missing index. Check if you are using the latest available version and/or file a report with the developers. |
166 | HttpStatus: 500 | 205 | HttpStatus: 500 |
167 | 206 | ||
168 | Value: 56 | 207 | Value: 0056 |
169 | Name: GENERIC_DB_INVARIANT_FAILURE | 208 | Name: GENERIC_DB_INVARIANT_FAILURE |
170 | Description: The service's database is inconsistent and violates service-internal invariants. | 209 | Description: The service's database is inconsistent and violates service-internal invariants. Check if you are using the latest available version and/or file a report with the developers. |
171 | HttpStatus: 500 | 210 | HttpStatus: 500 |
172 | 211 | ||
173 | 212 | ||
174 | # Server-side computational problems (60-69) | 213 | # Server-side computational problems (60-69) |
175 | 214 | ||
176 | Value: 60 | 215 | Value: 0060 |
177 | Name: GENERIC_INTERNAL_INVARIANT_FAILURE | 216 | Name: GENERIC_INTERNAL_INVARIANT_FAILURE |
178 | Description: The HTTP server experienced an internal invariant failure (bug). | 217 | Description: The HTTP server experienced an internal invariant failure (bug). Check if you are using the latest available version and/or file a report with the developers. |
179 | HttpStatus: 500 | 218 | HttpStatus: 500 |
180 | 219 | ||
181 | Value: 61 | 220 | Value: 0061 |
182 | Name: GENERIC_FAILED_COMPUTE_JSON_HASH | 221 | Name: GENERIC_FAILED_COMPUTE_JSON_HASH |
183 | Description: The service could not compute a cryptographic hash over some JSON value. | 222 | Description: The service could not compute a cryptographic hash over some JSON value. Check if you are using the latest available version and/or file a report with the developers. |
184 | HttpStatus: 500 | 223 | HttpStatus: 500 |
185 | 224 | ||
186 | Value: 62 | 225 | Value: 0062 |
187 | Name: GENERIC_FAILED_COMPUTE_AMOUNT | 226 | Name: GENERIC_FAILED_COMPUTE_AMOUNT |
188 | Description: The service could not compute an amount. | 227 | Description: The service could not compute an amount. Check if you are using the latest available version and/or file a report with the developers. |
189 | HttpStatus: 500 | 228 | HttpStatus: 500 |
190 | 229 | ||
191 | 230 | ||
192 | # Server-side resource problems (70-79) | 231 | # Server-side resource problems (70-79) |
193 | 232 | ||
194 | Value: 70 | 233 | Value: 0070 |
195 | Name: GENERIC_PARSER_OUT_OF_MEMORY | 234 | Name: GENERIC_PARSER_OUT_OF_MEMORY |
196 | Description: The HTTP server had insufficient memory to parse the request. | 235 | Description: The HTTP server had insufficient memory to parse the request. Restarting services periodically can help, especially if Postgres is using excessive amounts of memory. Check with the system administrator to investigate. |
197 | HttpStatus: 500 | 236 | HttpStatus: 500 |
198 | 237 | ||
199 | Value: 71 | 238 | Value: 0071 |
200 | Name: GENERIC_ALLOCATION_FAILURE | 239 | Name: GENERIC_ALLOCATION_FAILURE |
201 | Description: The HTTP server failed to allocate memory. | 240 | Description: The HTTP server failed to allocate memory. Restarting services periodically can help, especially if Postgres is using excessive amounts of memory. Check with the system administrator to investigate. |
202 | HttpStatus: 500 | 241 | HttpStatus: 500 |
203 | 242 | ||
204 | Value: 72 | 243 | Value: 0072 |
205 | Name: GENERIC_JSON_ALLOCATION_FAILURE | 244 | Name: GENERIC_JSON_ALLOCATION_FAILURE |
206 | Description: The HTTP server failed to allocate memory for building JSON reply. | 245 | Description: The HTTP server failed to allocate memory for building JSON reply. Restarting services periodically can help, especially if Postgres is using excessive amounts of memory. Check with the system administrator to investigate. |
207 | HttpStatus: 500 | 246 | HttpStatus: 500 |
208 | 247 | ||
209 | Value: 73 | 248 | Value: 0073 |
210 | Name: GENERIC_CURL_ALLOCATION_FAILURE | 249 | Name: GENERIC_CURL_ALLOCATION_FAILURE |
211 | Description: The HTTP server failed to allocate memory for making a CURL request. | 250 | Description: The HTTP server failed to allocate memory for making a CURL request. Restarting services periodically can help, especially if Postgres is using excessive amounts of memory. Check with the system administrator to investigate. |
251 | HttpStatus: 500 | ||
252 | |||
253 | Value: 0074 | ||
254 | Name: GENERIC_FAILED_TO_LOAD_TEMPLATE | ||
255 | Description: The backend could not locate a required template to generate an HTML reply. The system administrator should check if the resource files are installed in the correct location and are readable to the service. | ||
212 | HttpStatus: 500 | 256 | HttpStatus: 500 |
213 | 257 | ||
214 | # 80-99: available for future use | 258 | Value: 0075 |
259 | Name: GENERIC_FAILED_TO_EXPAND_TEMPLATE | ||
260 | Description: The backend could not expand the template to generate an HTML reply. The system administrator should investigate the logs and check if the templates are well-formed. | ||
261 | HttpStatus: 500 | ||
262 | |||
263 | |||
215 | 264 | ||
265 | # 0080-0099: available for future use | ||
216 | 266 | ||
217 | 267 | ||
218 | # 100 - 999: VERBOTEN due to confusion with HTTP status codes (at least 100-599). | 268 | |
269 | # 0100 - 0999: VERBOTEN due to confusion with HTTP status codes (at least 100-599). | ||
219 | 270 | ||
220 | # 1000 - 1999: Reserved for exchange | 271 | # 1000 - 1999: Reserved for exchange |
221 | # 1000 - 1099: Reserved for EXCHANGE_GENERIC | 272 | # 1000 - 1099: Reserved for EXCHANGE_GENERIC |
@@ -316,9 +367,9 @@ Description: The number of denominations specified in the request exceeds the li | |||
316 | HttpStatus: 400 | 367 | HttpStatus: 400 |
317 | 368 | ||
318 | Value: 1019 | 369 | Value: 1019 |
319 | Name: EXCHANGE_GENERIC_RESERVE_PUB_MALFORMED | 370 | Name: EXCHANGE_GENERIC_COIN_UNKNOWN |
320 | Description: The reserve public key was malformed. | 371 | Description: The coin is not known to the exchange (yet). |
321 | HttpStatus: 400 | 372 | HttpStatus: 404 |
322 | 373 | ||
323 | Value: 1020 | 374 | Value: 1020 |
324 | Name: EXCHANGE_GENERIC_CLOCK_SKEW | 375 | Name: EXCHANGE_GENERIC_CLOCK_SKEW |
@@ -365,6 +416,50 @@ Name: EXCHANGE_GENERIC_KYC_REQUIRED | |||
365 | Description: The exchange is not allowed to proceed with the operation until the client has satisfied a KYC check. | 416 | Description: The exchange is not allowed to proceed with the operation until the client has satisfied a KYC check. |
366 | HttpStatus: 451 | 417 | HttpStatus: 451 |
367 | 418 | ||
419 | Value: 1029 | ||
420 | Name: EXCHANGE_PURSE_DEPOSIT_COIN_CONFLICTING_ATTEST_VS_AGE_COMMITMENT | ||
421 | Description: Inconsistency between provided age commitment and attest: either none or both must be provided | ||
422 | HttpStatus: 400 | ||
423 | |||
424 | Value: 1030 | ||
425 | Name: EXCHANGE_PURSE_DEPOSIT_COIN_AGE_ATTESTATION_FAILURE | ||
426 | Description: The provided attestation for the minimum age couldn't be verified by the exchange. | ||
427 | HttpStatus: 400 | ||
428 | |||
429 | Value: 1031 | ||
430 | Name: EXCHANGE_GENERIC_PURSE_DELETED | ||
431 | Description: The purse was deleted. | ||
432 | HttpStatus: 410 | ||
433 | |||
434 | Value: 1032 | ||
435 | Name: EXCHANGE_GENERIC_AML_OFFICER_PUB_MALFORMED | ||
436 | Description: The public key of the AML officer in the URL was malformed. | ||
437 | HttpStatus: 400 | ||
438 | |||
439 | Value: 1033 | ||
440 | Name: EXCHANGE_GENERIC_AML_OFFICER_GET_SIGNATURE_INVALID | ||
441 | Description: The signature affirming the GET request of the AML officer is invalid. | ||
442 | HttpStatus: 403 | ||
443 | |||
444 | Value: 1034 | ||
445 | Name: EXCHANGE_GENERIC_AML_OFFICER_ACCESS_DENIED | ||
446 | Description: The specified AML officer does not have access at this time. | ||
447 | HttpStatus: 403 | ||
448 | |||
449 | Value: 1035 | ||
450 | Name: EXCHANGE_GENERIC_AML_PENDING | ||
451 | Description: The requested operation is denied pending the resolution of an anti-money laundering investigation by the exchange operator. This is a manual process, please wait and retry later. | ||
452 | HttpStatus: 451 | ||
453 | |||
454 | Value: 1036 | ||
455 | Name: EXCHANGE_GENERIC_AML_FROZEN | ||
456 | Description: The requested operation is denied as the account was frozen on suspicion of money laundering. Please contact the exchange operator. | ||
457 | HttpStatus: 451 | ||
458 | |||
459 | Value: 1037 | ||
460 | Name: EXCHANGE_GENERIC_KYC_CONVERTER_FAILED | ||
461 | Description: The exchange failed to start a KYC attribute conversion helper process. It is likely configured incorrectly. | ||
462 | HttpStatus: 500 | ||
368 | 463 | ||
369 | 464 | ||
370 | Value: 1100 | 465 | Value: 1100 |
@@ -402,11 +497,20 @@ Name: EXCHANGE_DEPOSITS_GET_MERCHANT_SIGNATURE_INVALID | |||
402 | Description: The signature of the merchant is invalid. | 497 | Description: The signature of the merchant is invalid. |
403 | HttpStatus: 403 | 498 | HttpStatus: 403 |
404 | 499 | ||
500 | Value: 1107 | ||
501 | Name: EXCHANGE_DEPOSITS_POLICY_NOT_ACCEPTED | ||
502 | Description: The provided policy data was not accepted | ||
503 | HttpStatus: 400 | ||
504 | |||
405 | Value: 1150 | 505 | Value: 1150 |
406 | Name: EXCHANGE_WITHDRAW_INSUFFICIENT_FUNDS | 506 | Name: EXCHANGE_WITHDRAW_INSUFFICIENT_FUNDS |
407 | Description: The given reserve does not have sufficient funds to admit the requested withdraw operation at this time. The response includes the current "balance" of the reserve as well as the transaction "history" that lead to this balance. | 507 | Description: The given reserve does not have sufficient funds to admit the requested withdraw operation at this time. The response includes the current "balance" of the reserve as well as the transaction "history" that lead to this balance. |
408 | HttpStatus: 409 | 508 | HttpStatus: 409 |
409 | 509 | ||
510 | Value: 1151 | ||
511 | Name: EXCHANGE_AGE_WITHDRAW_INSUFFICIENT_FUNDS | ||
512 | Description: The given reserve does not have sufficient funds to admit the requested age-withdraw operation at this time. The response includes the current "balance" of the reserve as well as the transaction "history" that lead to this balance. | ||
513 | HttpStatus: 409 | ||
410 | 514 | ||
411 | Value: 1152 | 515 | Value: 1152 |
412 | Name: EXCHANGE_WITHDRAW_AMOUNT_FEE_OVERFLOW | 516 | Name: EXCHANGE_WITHDRAW_AMOUNT_FEE_OVERFLOW |
@@ -424,10 +528,15 @@ Description: The signature of the reserve is not valid. | |||
424 | HttpStatus: 403 | 528 | HttpStatus: 403 |
425 | 529 | ||
426 | Value: 1155 | 530 | Value: 1155 |
427 | Name: EXCHANGE_WITHDRAW_HISTORY_ERROR_INSUFFICIENT_FUNDS | 531 | Name: EXCHANGE_RESERVE_HISTORY_ERROR_INSUFFICIENT_FUNDS |
428 | Description: When computing the reserve history, we ended up with a negative overall balance, which should be impossible. | 532 | Description: When computing the reserve history, we ended up with a negative overall balance, which should be impossible. |
429 | HttpStatus: 500 | 533 | HttpStatus: 500 |
430 | 534 | ||
535 | Value: 1156 | ||
536 | Name: EXCHANGE_GET_RESERVE_HISTORY_ERROR_INSUFFICIENT_BALANCE | ||
537 | Description: The reserve did not have sufficient funds in it to pay for a full reserve history statement. | ||
538 | HttpStatus: 409 | ||
539 | |||
431 | Value: 1158 | 540 | Value: 1158 |
432 | Name: EXCHANGE_WITHDRAW_DENOMINATION_KEY_LOST | 541 | Name: EXCHANGE_WITHDRAW_DENOMINATION_KEY_LOST |
433 | Description: Withdraw period of the coin to be withdrawn is in the past. | 542 | Description: Withdraw period of the coin to be withdrawn is in the past. |
@@ -441,8 +550,33 @@ HttpStatus: 0 | |||
441 | Value: 1160 | 550 | Value: 1160 |
442 | Name: EXCHANGE_WITHDRAW_NONCE_REUSE | 551 | Name: EXCHANGE_WITHDRAW_NONCE_REUSE |
443 | Description: The client re-used a withdraw nonce, which is not allowed. | 552 | Description: The client re-used a withdraw nonce, which is not allowed. |
553 | HttpStatus: 409 | ||
554 | |||
555 | Value: 1161 | ||
556 | Name: EXCHANGE_AGE_WITHDRAW_COMMITMENT_UNKNOWN | ||
557 | Description: The client provided an unknown commitment for an age-withdraw request. | ||
558 | HttpStatus: 400 | ||
559 | |||
560 | Value: 1162 | ||
561 | Name: EXCHANGE_AGE_WITHDRAW_AMOUNT_OVERFLOW | ||
562 | Description: The total sum of amounts from the denominations did overflow. | ||
563 | HttpStatus: 500 | ||
564 | |||
565 | Value: 1163 | ||
566 | Name: EXCHANGE_AGE_WITHDRAW_AMOUNT_INCORRECT | ||
567 | Description: The total sum of value and fees from the denominations differs from the committed amount with fees. | ||
444 | HttpStatus: 400 | 568 | HttpStatus: 400 |
445 | 569 | ||
570 | Value: 1164 | ||
571 | Name: EXCHANGE_AGE_WITHDRAW_REVEAL_INVALID_HASH | ||
572 | Description: The original commitment differs from the calculated hash | ||
573 | HttpStatus: 400 | ||
574 | |||
575 | Value: 1165 | ||
576 | Name: EXCHANGE_AGE_WITHDRAW_MAXIMUM_AGE_TOO_LARGE | ||
577 | Description: The maximum age in the commitment is too large for the reserve | ||
578 | HttpStatus: 409 | ||
579 | |||
446 | Value: 1175 | 580 | Value: 1175 |
447 | Name: EXCHANGE_WITHDRAW_BATCH_IDEMPOTENT_PLANCHET | 581 | Name: EXCHANGE_WITHDRAW_BATCH_IDEMPOTENT_PLANCHET |
448 | Description: The batch withdraw included a planchet that was already withdrawn. This is not allowed. | 582 | Description: The batch withdraw included a planchet that was already withdrawn. This is not allowed. |
@@ -494,18 +628,19 @@ Description: The deposited amount is smaller than the deposit fee, which would r | |||
494 | HttpStatus: 400 | 628 | HttpStatus: 400 |
495 | 629 | ||
496 | 630 | ||
497 | Value: 1250 | 631 | Value: 1240 |
498 | Name: EXCHANGE_RESERVES_STATUS_UNKNOWN | 632 | Name: EXCHANGE_EXTENSIONS_INVALID_FULFILLMENT |
499 | Description: The reserve balance, status or history was requested for a reserve which is not known to the exchange. | 633 | Description: The proof of policy fulfillment was invalid. |
500 | HttpStatus: 404 | 634 | HttpStatus: 400 |
635 | |||
501 | 636 | ||
502 | Value: 1251 | 637 | Value: 1251 |
503 | Name: EXCHANGE_RESERVES_STATUS_BAD_SIGNATURE | 638 | Name: EXCHANGE_COIN_HISTORY_BAD_SIGNATURE |
504 | Description: The reserve status was requested with a bad signature. | 639 | Description: The coin history was requested with a bad signature. |
505 | HttpStatus: 403 | 640 | HttpStatus: 403 |
506 | 641 | ||
507 | Value: 1252 | 642 | Value: 1252 |
508 | Name: EXCHANGE_RESERVES_HISTORY_BAD_SIGNATURE | 643 | Name: EXCHANGE_RESERVE_HISTORY_BAD_SIGNATURE |
509 | Description: The reserve history was requested with a bad signature. | 644 | Description: The reserve history was requested with a bad signature. |
510 | HttpStatus: 403 | 645 | HttpStatus: 403 |
511 | 646 | ||
@@ -782,11 +917,25 @@ Name: EXCHANGE_RESERVES_PURSE_FEE_TOO_LOW | |||
782 | Description: The purse fee specified for the request is lower than the purse fee charged by the exchange at this time. | 917 | Description: The purse fee specified for the request is lower than the purse fee charged by the exchange at this time. |
783 | HttpStatus: 400 | 918 | HttpStatus: 400 |
784 | 919 | ||
920 | Value: 1679 | ||
921 | Name: EXCHANGE_PURSE_DELETE_ALREADY_DECIDED | ||
922 | Description: The payment request cannot be deleted anymore, as it either already completed or timed out. | ||
923 | HttpStatus: 409 | ||
924 | |||
925 | Value: 1680 | ||
926 | Name: EXCHANGE_PURSE_DELETE_SIGNATURE_INVALID | ||
927 | Description: The signature affirming the purse deletion is invalid. | ||
928 | HttpStatus: 403 | ||
929 | |||
930 | Value: 1681 | ||
931 | Name: EXCHANGE_RESERVES_AGE_RESTRICTION_REQUIRED | ||
932 | Description: Withdrawal from the reserve requires age restriction to be set. | ||
933 | HttpStatus: 403 | ||
785 | 934 | ||
786 | Value: 1700 | 935 | Value: 1700 |
787 | Name: EXCHANGE_DENOMINATION_HELPER_UNAVAILABLE | 936 | Name: EXCHANGE_DENOMINATION_HELPER_UNAVAILABLE |
788 | Description: The exchange failed to talk to the process responsible for its private denomination keys. | 937 | Description: The exchange failed to talk to the process responsible for its private denomination keys or the helpers had no denominations (properly) configured. |
789 | HttpStatus: 500 | 938 | HttpStatus: 502 |
790 | 939 | ||
791 | Value: 1701 | 940 | Value: 1701 |
792 | Name: EXCHANGE_DENOMINATION_HELPER_BUG | 941 | Name: EXCHANGE_DENOMINATION_HELPER_BUG |
@@ -807,7 +956,7 @@ HttpStatus: 0 | |||
807 | Value: 1750 | 956 | Value: 1750 |
808 | Name: EXCHANGE_SIGNKEY_HELPER_UNAVAILABLE | 957 | Name: EXCHANGE_SIGNKEY_HELPER_UNAVAILABLE |
809 | Description: The exchange failed to talk to the process responsible for its private signing keys. | 958 | Description: The exchange failed to talk to the process responsible for its private signing keys. |
810 | HttpStatus: 500 | 959 | HttpStatus: 502 |
811 | 960 | ||
812 | Value: 1751 | 961 | Value: 1751 |
813 | Name: EXCHANGE_SIGNKEY_HELPER_BUG | 962 | Name: EXCHANGE_SIGNKEY_HELPER_BUG |
@@ -840,7 +989,30 @@ Name: EXCHANGE_RESERVES_RESERVE_MERGE_SIGNATURE_INVALID | |||
840 | Description: The signature by the reserve affirming the merge is invalid. | 989 | Description: The signature by the reserve affirming the merge is invalid. |
841 | HttpStatus: 403 | 990 | HttpStatus: 403 |
842 | 991 | ||
992 | Value: 1785 | ||
993 | Name: EXCHANGE_RESERVES_OPEN_BAD_SIGNATURE | ||
994 | Description: The signature by the reserve affirming the open operation is invalid. | ||
995 | HttpStatus: 403 | ||
996 | |||
997 | Value: 1786 | ||
998 | Name: EXCHANGE_RESERVES_CLOSE_BAD_SIGNATURE | ||
999 | Description: The signature by the reserve affirming the close operation is invalid. | ||
1000 | HttpStatus: 403 | ||
1001 | |||
1002 | Value: 1787 | ||
1003 | Name: EXCHANGE_RESERVES_ATTEST_BAD_SIGNATURE | ||
1004 | Description: The signature by the reserve affirming the attestion request is invalid. | ||
1005 | HttpStatus: 403 | ||
843 | 1006 | ||
1007 | Value: 1788 | ||
1008 | Name: EXCHANGE_RESERVES_CLOSE_NO_TARGET_ACCOUNT | ||
1009 | Description: The exchange does not know an origin account to which the remaining reserve balance could be wired to, and the wallet failed to provide one. | ||
1010 | HttpStatus: 409 | ||
1011 | |||
1012 | Value: 1789 | ||
1013 | Name: EXCHANGE_RESERVES_OPEN_INSUFFICIENT_FUNDS | ||
1014 | Description: The reserve balance is insufficient to pay for the open operation. | ||
1015 | HttpStatus: 409 | ||
844 | 1016 | ||
845 | Value: 1800 | 1017 | Value: 1800 |
846 | Name: EXCHANGE_MANAGEMENT_AUDITOR_NOT_FOUND | 1018 | Name: EXCHANGE_MANAGEMENT_AUDITOR_NOT_FOUND |
@@ -932,6 +1104,44 @@ Name: EXCHANGE_MANAGEMENT_GLOBAL_FEE_SIGNATURE_INVALID | |||
932 | Description: The signature affirming the fee structure is invalid. | 1104 | Description: The signature affirming the fee structure is invalid. |
933 | HttpStatus: 403 | 1105 | HttpStatus: 403 |
934 | 1106 | ||
1107 | Value: 1818 | ||
1108 | Name: EXCHANGE_MANAGEMENT_DRAIN_PROFITS_SIGNATURE_INVALID | ||
1109 | Description: The signature affirming the profit drain is invalid. | ||
1110 | HttpStatus: 403 | ||
1111 | |||
1112 | Value: 1825 | ||
1113 | Name: EXCHANGE_AML_DECISION_ADD_SIGNATURE_INVALID | ||
1114 | Description: The signature affirming the AML decision is invalid. | ||
1115 | HttpStatus: 403 | ||
1116 | |||
1117 | Value: 1826 | ||
1118 | Name: EXCHANGE_AML_DECISION_INVALID_OFFICER | ||
1119 | Description: The AML officer specified is not allowed to make AML decisions right now. | ||
1120 | HttpStatus: 403 | ||
1121 | |||
1122 | Value: 1827 | ||
1123 | Name: EXCHANGE_AML_DECISION_MORE_RECENT_PRESENT | ||
1124 | Description: There is a more recent AML decision on file. The decision was rejected as timestamps of AML decisions must be monotonically increasing. | ||
1125 | HttpStatus: 409 | ||
1126 | |||
1127 | Value: 1828 | ||
1128 | Name: EXCHANGE_AML_DECISION_UNKNOWN_CHECK | ||
1129 | Description: There AML decision would impose an AML check of a type that is not provided by any KYC provider known to the exchange. | ||
1130 | HttpStatus: 400 | ||
1131 | |||
1132 | Value: 1830 | ||
1133 | Name: EXCHANGE_MANAGEMENT_UPDATE_AML_OFFICER_SIGNATURE_INVALID | ||
1134 | Description: The signature affirming the change in the AML officer status is invalid. | ||
1135 | HttpStatus: 403 | ||
1136 | |||
1137 | Value: 1831 | ||
1138 | Name: EXCHANGE_MANAGEMENT_AML_OFFICERS_MORE_RECENT_PRESENT | ||
1139 | Description: A more recent decision about the AML officer status is known to the exchange. | ||
1140 | HttpStatus: 409 | ||
1141 | |||
1142 | |||
1143 | |||
1144 | |||
935 | Value: 1850 | 1145 | Value: 1850 |
936 | Name: EXCHANGE_PURSE_CREATE_CONFLICTING_META_DATA | 1146 | Name: EXCHANGE_PURSE_CREATE_CONFLICTING_META_DATA |
937 | Description: The purse was previously created with different meta data. | 1147 | Description: The purse was previously created with different meta data. |
@@ -1012,6 +1222,16 @@ Name: EXCHANGE_MERGE_PURSE_PARTNER_UNKNOWN | |||
1012 | Description: The exchange of the target account is not a partner of this exchange. | 1222 | Description: The exchange of the target account is not a partner of this exchange. |
1013 | HttpStatus: 404 | 1223 | HttpStatus: 404 |
1014 | 1224 | ||
1225 | Value: 1890 | ||
1226 | Name: EXCHANGE_MANAGEMENT_ADD_PARTNER_SIGNATURE_INVALID | ||
1227 | Description: The signature affirming the new partner is invalid. | ||
1228 | HttpStatus: 403 | ||
1229 | |||
1230 | Value: 1891 | ||
1231 | Name: EXCHANGE_MANAGEMENT_ADD_PARTNER_DATA_CONFLICT | ||
1232 | Description: Conflicting data for the partner already exists with the exchange. | ||
1233 | HttpStatus: 409 | ||
1234 | |||
1015 | 1235 | ||
1016 | Value: 1900 | 1236 | Value: 1900 |
1017 | Name: EXCHANGE_AUDITORS_AUDITOR_SIGNATURE_INVALID | 1237 | Name: EXCHANGE_AUDITORS_AUDITOR_SIGNATURE_INVALID |
@@ -1048,11 +1268,58 @@ Name: EXCHANGE_KYC_PROOF_BACKEND_AUTHORIZATION_FAILED | |||
1048 | Description: The backend signaled an authorization failure. | 1268 | Description: The backend signaled an authorization failure. |
1049 | HttpStatus: 403 | 1269 | HttpStatus: 403 |
1050 | 1270 | ||
1271 | Value: 1929 | ||
1272 | Name: EXCHANGE_KYC_PROOF_REQUEST_UNKNOWN | ||
1273 | Description: The exchange is unaware of having made an the authorization request. | ||
1274 | HttpStatus: 404 | ||
1275 | |||
1051 | Value: 1930 | 1276 | Value: 1930 |
1052 | Name: EXCHANGE_KYC_CHECK_AUTHORIZATION_FAILED | 1277 | Name: EXCHANGE_KYC_CHECK_AUTHORIZATION_FAILED |
1053 | Description: The payto-URI hash did not match. Hence the request was denied. | 1278 | Description: The payto-URI hash did not match. Hence the request was denied. |
1054 | HttpStatus: 403 | 1279 | HttpStatus: 403 |
1055 | 1280 | ||
1281 | Value: 1931 | ||
1282 | Name: EXCHANGE_KYC_GENERIC_LOGIC_UNKNOWN | ||
1283 | Description: The request used a logic specifier that is not known to the exchange. | ||
1284 | HttpStatus: 404 | ||
1285 | |||
1286 | Value: 1932 | ||
1287 | Name: EXCHANGE_KYC_GENERIC_LOGIC_GONE | ||
1288 | Description: The request requires a logic which is no longer configured at the exchange. | ||
1289 | HttpStatus: 500 | ||
1290 | |||
1291 | Value: 1933 | ||
1292 | Name: EXCHANGE_KYC_GENERIC_LOGIC_BUG | ||
1293 | Description: The logic plugin had a bug in its interaction with the KYC provider. | ||
1294 | HttpStatus: 500 | ||
1295 | |||
1296 | Value: 1934 | ||
1297 | Name: EXCHANGE_KYC_GENERIC_PROVIDER_ACCESS_REFUSED | ||
1298 | Description: The exchange could not process the request with its KYC provider because the provider refused access to the service. This indicates some configuration issue at the Taler exchange operator. | ||
1299 | HttpStatus: 511 | ||
1300 | |||
1301 | Value: 1935 | ||
1302 | Name: EXCHANGE_KYC_GENERIC_PROVIDER_TIMEOUT | ||
1303 | Description: There was a timeout in the interaction between the exchange and the KYC provider. The most likely cause is some networking problem. Trying again later might succeed. | ||
1304 | HttpStatus: 504 | ||
1305 | |||
1306 | Value: 1936 | ||
1307 | Name: EXCHANGE_KYC_GENERIC_PROVIDER_UNEXPECTED_REPLY | ||
1308 | Description: The KYC provider responded with a status that was completely unexpected by the KYC logic of the exchange. | ||
1309 | HttpStatus: 502 | ||
1310 | |||
1311 | Value: 1937 | ||
1312 | Name: EXCHANGE_KYC_GENERIC_PROVIDER_RATE_LIMIT_EXCEEDED | ||
1313 | Description: The rate limit of the exchange at the KYC provider has been exceeded. Trying much later might work. | ||
1314 | HttpStatus: 503 | ||
1315 | |||
1316 | Value: 1938 | ||
1317 | Name: EXCHANGE_KYC_WEBHOOK_UNAUTHORIZED | ||
1318 | Description: The request to the webhook lacked proper authorization or authentication data. | ||
1319 | HttpStatus: 401 | ||
1320 | |||
1321 | |||
1322 | |||
1056 | Value: 1950 | 1323 | Value: 1950 |
1057 | Name: EXCHANGE_CONTRACTS_UNKNOWN | 1324 | Name: EXCHANGE_CONTRACTS_UNKNOWN |
1058 | Description: The exchange does not know a contract under the given contract public key. | 1325 | Description: The exchange does not know a contract under the given contract public key. |
@@ -1083,6 +1350,18 @@ Name: EXCHANGE_PURSE_DEPOSIT_COIN_SIGNATURE_INVALID | |||
1083 | Description: A coin signature for a deposit into the purse is invalid. | 1350 | Description: A coin signature for a deposit into the purse is invalid. |
1084 | HttpStatus: 403 | 1351 | HttpStatus: 403 |
1085 | 1352 | ||
1353 | Value: 1976 | ||
1354 | Name: EXCHANGE_PURSE_DEPOSIT_DECIDED_ALREADY | ||
1355 | Description: It is too late to deposit coins into the purse. | ||
1356 | HttpStatus: 410 | ||
1357 | |||
1358 | |||
1359 | |||
1360 | Value: 1980 | ||
1361 | Name: EXCHANGE_TOTP_KEY_INVALID | ||
1362 | Description: TOTP key is not valid. | ||
1363 | HttpStatus: 0 | ||
1364 | |||
1086 | 1365 | ||
1087 | 1366 | ||
1088 | 1367 | ||
@@ -1100,19 +1379,9 @@ Description: The start and end-times in the wire fee structure leave a hole. Thi | |||
1100 | HttpStatus: 0 | 1379 | HttpStatus: 0 |
1101 | 1380 | ||
1102 | Value: 2002 | 1381 | Value: 2002 |
1103 | Name: MERCHANT_GENERIC_RESERVE_PUB_MALFORMED | 1382 | Name: MERCHANT_GENERIC_EXCHANGE_WIRE_REQUEST_FAILED |
1104 | Description: The reserve key of given to a /reserves/ handler was malformed. | 1383 | Description: The merchant was unable to obtain a valid answer to /wire from the exchange. |
1105 | HttpStatus: 400 | 1384 | HttpStatus: 502 |
1106 | |||
1107 | Value: 2003 | ||
1108 | Name: MERCHANT_GENERIC_FAILED_TO_LOAD_TEMPLATE | ||
1109 | Description: The backend could not locate a required template to generate an HTML reply. | ||
1110 | HttpStatus: 406 | ||
1111 | |||
1112 | Value: 2004 | ||
1113 | Name: MERCHANT_GENERIC_FAILED_TO_EXPAND_TEMPLATE | ||
1114 | Description: The backend could not expand the template to generate an HTML reply. | ||
1115 | HttpStatus: 500 | ||
1116 | 1385 | ||
1117 | Value: 2005 | 1386 | Value: 2005 |
1118 | Name: MERCHANT_GENERIC_ORDER_UNKNOWN | 1387 | Name: MERCHANT_GENERIC_ORDER_UNKNOWN |
@@ -1125,8 +1394,8 @@ Description: The order provided to the backend could not be completed, because a | |||
1125 | HttpStatus: 404 | 1394 | HttpStatus: 404 |
1126 | 1395 | ||
1127 | Value: 2007 | 1396 | Value: 2007 |
1128 | Name: MERCHANT_GENERIC_TIP_ID_UNKNOWN | 1397 | Name: MERCHANT_GENERIC_REWARD_ID_UNKNOWN |
1129 | Description: The tip ID is unknown. This could happen if the tip has expired. | 1398 | Description: The reward ID is unknown. This could happen if the reward has expired. |
1130 | HttpStatus: 404 | 1399 | HttpStatus: 404 |
1131 | 1400 | ||
1132 | Value: 2008 | 1401 | Value: 2008 |
@@ -1179,6 +1448,40 @@ Name: MERCHANT_GENERIC_TRANSFER_UNKNOWN | |||
1179 | Description: The backend could not find the inbound wire transfer specified in the request. | 1448 | Description: The backend could not find the inbound wire transfer specified in the request. |
1180 | HttpStatus: 404 | 1449 | HttpStatus: 404 |
1181 | 1450 | ||
1451 | Value: 2018 | ||
1452 | Name: MERCHANT_GENERIC_TEMPLATE_UNKNOWN | ||
1453 | Description: The backend could not find the template(id) because it is not exist. | ||
1454 | HttpStatus: 404 | ||
1455 | |||
1456 | Value: 2019 | ||
1457 | Name: MERCHANT_GENERIC_WEBHOOK_UNKNOWN | ||
1458 | Description: The backend could not find the webhook(id) because it is not exist. | ||
1459 | HttpStatus: 404 | ||
1460 | |||
1461 | Value: 2020 | ||
1462 | Name: MERCHANT_GENERIC_PENDING_WEBHOOK_UNKNOWN | ||
1463 | Description: The backend could not find the webhook(serial) because it is not exist. | ||
1464 | HttpStatus: 404 | ||
1465 | |||
1466 | Value: 2021 | ||
1467 | Name: MERCHANT_GENERIC_OTP_DEVICE_UNKNOWN | ||
1468 | Description: The backend could not find the OTP device(id) because it is not exist. | ||
1469 | HttpStatus: 404 | ||
1470 | |||
1471 | Value: 2022 | ||
1472 | Name: MERCHANT_GENERIC_ACCOUNT_UNKNOWN | ||
1473 | Description: The account is not known to the backend. | ||
1474 | HttpStatus: 404 | ||
1475 | |||
1476 | Value: 2023 | ||
1477 | Name: MERCHANT_GENERIC_H_WIRE_MALFORMED | ||
1478 | Description: The wire hash was malformed. | ||
1479 | HttpStatus: 400 | ||
1480 | |||
1481 | Value: 2024 | ||
1482 | Name: MERCHANT_GENERIC_CURRENCY_MISMATCH | ||
1483 | Description: The currency specified in the operation does not work with the current state of the given resource. | ||
1484 | HttpStatus: 409 | ||
1182 | 1485 | ||
1183 | # 2100-2499: public API | 1486 | # 2100-2499: public API |
1184 | # 2100-2149: get orders endpoint | 1487 | # 2100-2149: get orders endpoint |
@@ -1188,7 +1491,6 @@ Name: MERCHANT_GET_ORDERS_EXCHANGE_TRACKING_FAILURE | |||
1188 | Description: The exchange failed to provide a valid answer to the tracking request, thus those details are not in the response. | 1491 | Description: The exchange failed to provide a valid answer to the tracking request, thus those details are not in the response. |
1189 | HttpStatus: 200 | 1492 | HttpStatus: 200 |
1190 | 1493 | ||
1191 | |||
1192 | Value: 2103 | 1494 | Value: 2103 |
1193 | Name: MERCHANT_GET_ORDERS_ID_EXCHANGE_REQUEST_FAILURE | 1495 | Name: MERCHANT_GET_ORDERS_ID_EXCHANGE_REQUEST_FAILURE |
1194 | Description: The merchant backend failed to construct the request for tracking to the exchange, thus tracking details are not in the response. | 1496 | Description: The merchant backend failed to construct the request for tracking to the exchange, thus tracking details are not in the response. |
@@ -1239,12 +1541,12 @@ HttpStatus: 400 | |||
1239 | Value: 2155 | 1541 | Value: 2155 |
1240 | Name: MERCHANT_POST_ORDERS_ID_PAY_INSUFFICIENT_DUE_TO_FEES | 1542 | Name: MERCHANT_POST_ORDERS_ID_PAY_INSUFFICIENT_DUE_TO_FEES |
1241 | Description: After considering deposit and wire fees, the payment is insufficient to satisfy the required amount for the contract. The client should revisit the logic used to calculate fees it must cover. | 1543 | Description: After considering deposit and wire fees, the payment is insufficient to satisfy the required amount for the contract. The client should revisit the logic used to calculate fees it must cover. |
1242 | HttpStatus: 406 | 1544 | HttpStatus: 400 |
1243 | 1545 | ||
1244 | Value: 2156 | 1546 | Value: 2156 |
1245 | Name: MERCHANT_POST_ORDERS_ID_PAY_PAYMENT_INSUFFICIENT | 1547 | Name: MERCHANT_POST_ORDERS_ID_PAY_PAYMENT_INSUFFICIENT |
1246 | Description: Even if we do not consider deposit and wire fees, the payment is insufficient to satisfy the required amount for the contract. | 1548 | Description: Even if we do not consider deposit and wire fees, the payment is insufficient to satisfy the required amount for the contract. |
1247 | HttpStatus: 406 | 1549 | HttpStatus: 400 |
1248 | 1550 | ||
1249 | Value: 2157 | 1551 | Value: 2157 |
1250 | Name: MERCHANT_POST_ORDERS_ID_PAY_COIN_SIGNATURE_INVALID | 1552 | Name: MERCHANT_POST_ORDERS_ID_PAY_COIN_SIGNATURE_INVALID |
@@ -1331,7 +1633,13 @@ Name: MERCHANT_POST_ORDERS_ID_PAY_AGE_COMMITMENT_HASH_MISSING | |||
1331 | 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. | 1633 | Description: The payment required no minimum age but one of the coins (of a denomination with support for age restriction) did not provide the required h_age_commitment. |
1332 | HttpStatus: 400 | 1634 | HttpStatus: 400 |
1333 | 1635 | ||
1334 | # 2200-2249: post orders ID paid endpoint | 1636 | Value: 2175 |
1637 | Name: MERCHANT_POST_ORDERS_ID_PAY_WIRE_METHOD_UNSUPPORTED | ||
1638 | Description: The exchange does not support the selected bank account of the merchant. Likely the merchant had stale data on the bank accounts of the exchange and thus selected an inappropriate exchange when making the offer. | ||
1639 | HttpStatus: 409 | ||
1640 | |||
1641 | |||
1642 | # 2200-2224: post orders ID paid endpoint | ||
1335 | 1643 | ||
1336 | Value: 2200 | 1644 | Value: 2200 |
1337 | Name: MERCHANT_POST_ORDERS_ID_PAID_CONTRACT_HASH_MISMATCH | 1645 | Name: MERCHANT_POST_ORDERS_ID_PAID_CONTRACT_HASH_MISMATCH |
@@ -1343,8 +1651,20 @@ Name: MERCHANT_POST_ORDERS_ID_PAID_COIN_SIGNATURE_INVALID | |||
1343 | Description: The signature of the merchant is not valid for the given contract hash. | 1651 | Description: The signature of the merchant is not valid for the given contract hash. |
1344 | HttpStatus: 403 | 1652 | HttpStatus: 403 |
1345 | 1653 | ||
1346 | # 2250-2299: post orders ID abort endpoint | 1654 | # 2225-2249: token families endpoints |
1655 | |||
1656 | Value: 2225 | ||
1657 | Name: MERCHANT_POST_TOKEN_FAMILY_CONFLICT | ||
1658 | Description: A token family with this ID but conflicting data exists. | ||
1659 | HttpStatus: 409 | ||
1660 | |||
1661 | Value: 2226 | ||
1662 | Name: MERCHANT_PATCH_TOKEN_FAMILY_NOT_FOUND | ||
1663 | Description: The backend is unaware of a token family with the given ID. | ||
1664 | HttpStatus: 404 | ||
1665 | |||
1347 | 1666 | ||
1667 | # 2250-2256: post orders ID abort endpoint | ||
1348 | 1668 | ||
1349 | Value: 2251 | 1669 | Value: 2251 |
1350 | Name: MERCHANT_POST_ORDERS_ID_ABORT_EXCHANGE_REFUND_FAILED | 1670 | Name: MERCHANT_POST_ORDERS_ID_ABORT_EXCHANGE_REFUND_FAILED |
@@ -1376,6 +1696,44 @@ Name: MERCHANT_POST_ORDERS_ID_ABORT_COINS_ARRAY_EMPTY | |||
1376 | Description: The array of coins cannot be empty. | 1696 | Description: The array of coins cannot be empty. |
1377 | HttpStatus: 400 | 1697 | HttpStatus: 400 |
1378 | 1698 | ||
1699 | Value: 2258 | ||
1700 | Name: MERCHANT_EXCHANGE_TRANSFERS_AWAITING_KEYS | ||
1701 | Description: We are waiting for the exchange to provide us with key material before checking the wire transfer. | ||
1702 | HttpStatus: 202 | ||
1703 | |||
1704 | Value: 2259 | ||
1705 | Name: MERCHANT_EXCHANGE_TRANSFERS_AWAITING_LIST | ||
1706 | Description: We are waiting for the exchange to provide us with the list of aggregated transactions. | ||
1707 | HttpStatus: 202 | ||
1708 | |||
1709 | |||
1710 | Value: 2260 | ||
1711 | Name: MERCHANT_EXCHANGE_TRANSFERS_FATAL_NO_EXCHANGE | ||
1712 | Description: The endpoint indicated in the wire transfer does not belong to a GNU Taler exchange. | ||
1713 | HttpStatus: 200 | ||
1714 | |||
1715 | Value: 2261 | ||
1716 | Name: MERCHANT_EXCHANGE_TRANSFERS_FATAL_NOT_FOUND | ||
1717 | Description: The exchange indicated in the wire transfer claims to know nothing about the wire transfer. | ||
1718 | HttpStatus: 0 | ||
1719 | |||
1720 | Value: 2262 | ||
1721 | Name: MERCHANT_EXCHANGE_TRANSFERS_RATE_LIMITED | ||
1722 | Description: The interaction with the exchange is delayed due to rate limiting. | ||
1723 | HttpStatus: 202 | ||
1724 | |||
1725 | Value: 2263 | ||
1726 | Name: MERCHANT_EXCHANGE_TRANSFERS_TRANSIENT_FAILURE | ||
1727 | Description: We experienced a transient failure in our interaction with the exchange. | ||
1728 | HttpStatus: 202 | ||
1729 | |||
1730 | Value: 2264 | ||
1731 | Name: MERCHANT_EXCHANGE_TRANSFERS_HARD_FAILURE | ||
1732 | Description: The response from the exchange was unacceptable and should be reviewed with an auditor. | ||
1733 | HttpStatus: 200 | ||
1734 | |||
1735 | |||
1736 | |||
1379 | # 2300-2349: post orders ID claim endpoint | 1737 | # 2300-2349: post orders ID claim endpoint |
1380 | 1738 | ||
1381 | Value: 2300 | 1739 | Value: 2300 |
@@ -1400,38 +1758,38 @@ Name: MERCHANT_POST_ORDERS_ID_REFUND_SIGNATURE_FAILED | |||
1400 | Description: The backend failed to sign the refund request. | 1758 | Description: The backend failed to sign the refund request. |
1401 | HttpStatus: 0 | 1759 | HttpStatus: 0 |
1402 | 1760 | ||
1403 | # 2400-2449: tip pickup endpoint | 1761 | # 2400-2449: reward pickup endpoint |
1404 | 1762 | ||
1405 | Value: 2400 | 1763 | Value: 2400 |
1406 | Name: MERCHANT_TIP_PICKUP_UNBLIND_FAILURE | 1764 | Name: MERCHANT_REWARD_PICKUP_UNBLIND_FAILURE |
1407 | Description: The client failed to unblind the signature returned by the merchant. | 1765 | Description: The client failed to unblind the signature returned by the merchant. |
1408 | HttpStatus: 0 | 1766 | HttpStatus: 0 |
1409 | 1767 | ||
1410 | 1768 | ||
1411 | 1769 | ||
1412 | Value: 2403 | 1770 | Value: 2403 |
1413 | Name: MERCHANT_TIP_PICKUP_EXCHANGE_ERROR | 1771 | Name: MERCHANT_REWARD_PICKUP_EXCHANGE_ERROR |
1414 | Description: The exchange returned a failure code for the withdraw operation. | 1772 | Description: The exchange returned a failure code for the withdraw operation. |
1415 | HttpStatus: 502 | 1773 | HttpStatus: 502 |
1416 | 1774 | ||
1417 | 1775 | ||
1418 | Value: 2404 | 1776 | Value: 2404 |
1419 | Name: MERCHANT_TIP_PICKUP_SUMMATION_FAILED | 1777 | Name: MERCHANT_REWARD_PICKUP_SUMMATION_FAILED |
1420 | Description: The merchant failed to add up the amounts to compute the pick up value. | 1778 | Description: The merchant failed to add up the amounts to compute the pick up value. |
1421 | HttpStatus: 500 | 1779 | HttpStatus: 500 |
1422 | 1780 | ||
1423 | Value: 2405 | 1781 | Value: 2405 |
1424 | Name: MERCHANT_TIP_PICKUP_HAS_EXPIRED | 1782 | Name: MERCHANT_REWARD_PICKUP_HAS_EXPIRED |
1425 | Description: The tip expired. | 1783 | Description: The reward expired. |
1426 | HttpStatus: 410 | 1784 | HttpStatus: 410 |
1427 | 1785 | ||
1428 | Value: 2406 | 1786 | Value: 2406 |
1429 | Name: MERCHANT_TIP_PICKUP_AMOUNT_EXCEEDS_TIP_REMAINING | 1787 | Name: MERCHANT_REWARD_PICKUP_AMOUNT_EXCEEDS_REWARD_REMAINING |
1430 | Description: The requested withdraw amount exceeds the amount remaining to be picked up. | 1788 | Description: The requested withdraw amount exceeds the amount remaining to be picked up. |
1431 | HttpStatus: 400 | 1789 | HttpStatus: 400 |
1432 | 1790 | ||
1433 | Value: 2407 | 1791 | Value: 2407 |
1434 | Name: MERCHANT_TIP_PICKUP_DENOMINATION_UNKNOWN | 1792 | Name: MERCHANT_REWARD_PICKUP_DENOMINATION_UNKNOWN |
1435 | Description: The merchant did not find the specified denomination key in the exchange's key set. | 1793 | Description: The merchant did not find the specified denomination key in the exchange's key set. |
1436 | HttpStatus: 409 | 1794 | HttpStatus: 409 |
1437 | 1795 | ||
@@ -1442,39 +1800,54 @@ HttpStatus: 409 | |||
1442 | 1800 | ||
1443 | Value: 2500 | 1801 | Value: 2500 |
1444 | Name: MERCHANT_PRIVATE_POST_ORDERS_INSTANCE_CONFIGURATION_LACKS_WIRE | 1802 | Name: MERCHANT_PRIVATE_POST_ORDERS_INSTANCE_CONFIGURATION_LACKS_WIRE |
1445 | 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). | 1803 | Description: The merchant instance has no active bank accounts configured. However, at least one bank account must be available to create new orders. |
1446 | HttpStatus: 404 | 1804 | HttpStatus: 404 |
1447 | 1805 | ||
1448 | Value: 2501 | 1806 | Value: 2501 |
1449 | Name: MERCHANT_PRIVATE_POST_ORDERS_NO_LOCALTIME | 1807 | Name: MERCHANT_PRIVATE_POST_ORDERS_NO_LOCALTIME |
1450 | Description: The proposal had no timestamp and the backend failed to obtain the local time. Likely to be an internal error. | 1808 | Description: The proposal had no timestamp and the merchant backend failed to obtain the current local time. |
1451 | HttpStatus: 500 | 1809 | HttpStatus: 500 |
1452 | 1810 | ||
1453 | Value: 2502 | 1811 | Value: 2502 |
1454 | Name: MERCHANT_PRIVATE_POST_ORDERS_PROPOSAL_PARSE_ERROR | 1812 | Name: MERCHANT_PRIVATE_POST_ORDERS_PROPOSAL_PARSE_ERROR |
1455 | Description: The order provided to the backend could not be parsed, some required fields were missing or ill-formed. | 1813 | Description: The order provided to the backend could not be parsed; likely some required fields were missing or ill-formed. |
1456 | HttpStatus: 400 | 1814 | HttpStatus: 400 |
1457 | 1815 | ||
1458 | Value: 2503 | 1816 | Value: 2503 |
1459 | Name: MERCHANT_PRIVATE_POST_ORDERS_ALREADY_EXISTS | 1817 | Name: MERCHANT_PRIVATE_POST_ORDERS_ALREADY_EXISTS |
1460 | Description: The backend encountered an error: the proposal already exists. | 1818 | Description: A conflicting order (sharing the same order identifier) already exists at this merchant backend instance. |
1461 | HttpStatus: 409 | 1819 | HttpStatus: 409 |
1462 | 1820 | ||
1463 | Value: 2504 | 1821 | Value: 2504 |
1464 | Name: MERCHANT_PRIVATE_POST_ORDERS_REFUND_AFTER_WIRE_DEADLINE | 1822 | Name: MERCHANT_PRIVATE_POST_ORDERS_REFUND_AFTER_WIRE_DEADLINE |
1465 | Description: The request is invalid: the wire deadline is before the refund deadline. | 1823 | Description: The order creation request is invalid because the given wire deadline is before the refund deadline. |
1466 | HttpStatus: 400 | 1824 | HttpStatus: 400 |
1467 | 1825 | ||
1468 | Value: 2505 | 1826 | Value: 2505 |
1469 | Name: MERCHANT_PRIVATE_POST_ORDERS_DELIVERY_DATE_IN_PAST | 1827 | Name: MERCHANT_PRIVATE_POST_ORDERS_DELIVERY_DATE_IN_PAST |
1470 | Description: The request is invalid: a delivery date was given, but it is in the past. | 1828 | Description: The order creation request is invalid because the delivery date given is in the past. |
1471 | HttpStatus: 400 | 1829 | HttpStatus: 400 |
1472 | 1830 | ||
1473 | Value: 2506 | 1831 | Value: 2506 |
1474 | Name: MERCHANT_PRIVATE_POST_ORDERS_WIRE_DEADLINE_IS_NEVER | 1832 | Name: MERCHANT_PRIVATE_POST_ORDERS_WIRE_DEADLINE_IS_NEVER |
1475 | Description: The request is invalid: the wire deadline for the order would be "never". | 1833 | Description: The order creation request is invalid because a wire deadline of "never" is not allowed. |
1834 | HttpStatus: 400 | ||
1835 | |||
1836 | Value: 2507 | ||
1837 | Name: MERCHANT_PRIVATE_POST_ORDERS_PAY_DEADLINE_IN_PAST | ||
1838 | Description: The order ceration request is invalid because the given payment deadline is in the past. | ||
1476 | HttpStatus: 400 | 1839 | HttpStatus: 400 |
1477 | 1840 | ||
1841 | Value: 2508 | ||
1842 | Name: MERCHANT_PRIVATE_POST_ORDERS_REFUND_DEADLINE_IN_PAST | ||
1843 | Description: The order creation request is invalid because the given refund deadline is in the past. | ||
1844 | HttpStatus: 400 | ||
1845 | |||
1846 | Value: 2509 | ||
1847 | Name: MERCHANT_PRIVATE_POST_ORDERS_NO_EXCHANGES_FOR_WIRE_METHOD | ||
1848 | Description: The backend does not trust any exchange that would allow funds to be wired to any bank account of this instance using the wire method specified with the order. Note that right now, we do not support the use of exchange bank accounts with mandatory currency conversion. | ||
1849 | HttpStatus: 409 | ||
1850 | |||
1478 | Value: 2510 | 1851 | Value: 2510 |
1479 | Name: MERCHANT_PRIVATE_PATCH_ORDERS_ID_FORGET_PATH_SYNTAX_INCORRECT | 1852 | Name: MERCHANT_PRIVATE_PATCH_ORDERS_ID_FORGET_PATH_SYNTAX_INCORRECT |
1480 | Description: One of the paths to forget is malformed. | 1853 | Description: One of the paths to forget is malformed. |
@@ -1487,7 +1860,7 @@ HttpStatus: 409 | |||
1487 | 1860 | ||
1488 | Value: 2520 | 1861 | Value: 2520 |
1489 | Name: MERCHANT_PRIVATE_DELETE_ORDERS_AWAITING_PAYMENT | 1862 | Name: MERCHANT_PRIVATE_DELETE_ORDERS_AWAITING_PAYMENT |
1490 | Description: The order provided to the backend could not be deleted, our offer is still valid and awaiting payment. | 1863 | Description: The order provided to the backend could not be deleted, our offer is still valid and awaiting payment. Deletion may work later after the offer has expired if it remains unpaid. |
1491 | HttpStatus: 409 | 1864 | HttpStatus: 409 |
1492 | 1865 | ||
1493 | Value: 2521 | 1866 | Value: 2521 |
@@ -1497,17 +1870,17 @@ HttpStatus: 409 | |||
1497 | 1870 | ||
1498 | Value: 2530 | 1871 | Value: 2530 |
1499 | Name: MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_INCONSISTENT_AMOUNT | 1872 | Name: MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_INCONSISTENT_AMOUNT |
1500 | 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. | 1873 | Description: The amount to be refunded is inconsistent: either is lower than the previous amount being awarded, or it exceeds the original price paid by the customer. |
1501 | HttpStatus: 409 | 1874 | HttpStatus: 409 |
1502 | 1875 | ||
1503 | Value: 2531 | 1876 | Value: 2531 |
1504 | Name: MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_ORDER_UNPAID | 1877 | Name: MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_ORDER_UNPAID |
1505 | Description: The frontend gave an unpaid order id to issue the refund to. | 1878 | Description: Only paid orders can be refunded, and the frontend specified an unpaid order to issue a refund for. |
1506 | HttpStatus: 409 | 1879 | HttpStatus: 409 |
1507 | 1880 | ||
1508 | Value: 2532 | 1881 | Value: 2532 |
1509 | Name: MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_NOT_ALLOWED_BY_CONTRACT | 1882 | Name: MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_NOT_ALLOWED_BY_CONTRACT |
1510 | Description: The refund delay was set to 0 and thus no refunds are allowed for this order. | 1883 | Description: The refund delay was set to 0 and thus no refunds are ever allowed for this order. |
1511 | HttpStatus: 403 | 1884 | HttpStatus: 403 |
1512 | 1885 | ||
1513 | 1886 | ||
@@ -1554,6 +1927,11 @@ Name: MERCHANT_PRIVATE_POST_TRANSFERS_CONFLICTING_SUBMISSION | |||
1554 | 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. | 1927 | 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. |
1555 | HttpStatus: 409 | 1928 | HttpStatus: 409 |
1556 | 1929 | ||
1930 | Value: 2563 | ||
1931 | Name: MERCHANT_EXCHANGE_TRANSFERS_CONFLICTING_TRANSFERS | ||
1932 | Description: The amount transferred differs between what was submitted and what the exchange claimed. | ||
1933 | HttpStatus: 0 | ||
1934 | |||
1557 | 1935 | ||
1558 | # 2600-2649: instance operations | 1936 | # 2600-2649: instance operations |
1559 | 1937 | ||
@@ -1582,6 +1960,16 @@ Name: MERCHANT_PRIVATE_PATCH_INSTANCES_PURGE_REQUIRED | |||
1582 | Description: The merchant backend cannot update an instance under the given identifier, the previous one was deleted but must be purged first. | 1960 | Description: The merchant backend cannot update an instance under the given identifier, the previous one was deleted but must be purged first. |
1583 | HttpStatus: 409 | 1961 | HttpStatus: 409 |
1584 | 1962 | ||
1963 | Value: 2626 | ||
1964 | Name: MERCHANT_PRIVATE_ACCOUNT_DELETE_UNKNOWN_ACCOUNT | ||
1965 | Description: The bank account referenced in the requested operation was not found. | ||
1966 | HttpStatus: 404 | ||
1967 | |||
1968 | Value: 2627 | ||
1969 | Name: MERCHANT_PRIVATE_ACCOUNT_EXISTS | ||
1970 | Description: The bank account specified in the request already exists at the merchant. | ||
1971 | HttpStatus: 409 | ||
1972 | |||
1585 | 1973 | ||
1586 | # 2650-2699: product operations | 1974 | # 2650-2699: product operations |
1587 | 1975 | ||
@@ -1627,31 +2015,36 @@ Name: MERCHANT_PRIVATE_POST_RESERVES_UNSUPPORTED_WIRE_METHOD | |||
1627 | Description: The requested wire method is not supported by the exchange. | 2015 | Description: The requested wire method is not supported by the exchange. |
1628 | HttpStatus: 409 | 2016 | HttpStatus: 409 |
1629 | 2017 | ||
2018 | Value: 2701 | ||
2019 | Name: MERCHANT_PRIVATE_POST_RESERVES_REWARDS_NOT_ALLOWED | ||
2020 | Description: The requested exchange does not allow rewards. | ||
2021 | HttpStatus: 409 | ||
2022 | |||
1630 | Value: 2710 | 2023 | Value: 2710 |
1631 | Name: MERCHANT_PRIVATE_DELETE_RESERVES_NO_SUCH_RESERVE | 2024 | Name: MERCHANT_PRIVATE_DELETE_RESERVES_NO_SUCH_RESERVE |
1632 | Description: The reserve could not be deleted because it is unknown. | 2025 | Description: The reserve could not be deleted because it is unknown. |
1633 | HttpStatus: 404 | 2026 | HttpStatus: 404 |
1634 | 2027 | ||
1635 | # 2750-2799: tip authorization | 2028 | # 2750-2799: reward authorization |
1636 | 2029 | ||
1637 | Value: 2750 | 2030 | Value: 2750 |
1638 | Name: MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_RESERVE_EXPIRED | 2031 | Name: MERCHANT_PRIVATE_POST_REWARD_AUTHORIZE_RESERVE_EXPIRED |
1639 | Description: The reserve that was used to fund the tips has expired. | 2032 | Description: The reserve that was used to fund the rewards has expired. |
1640 | HttpStatus: 410 | 2033 | HttpStatus: 410 |
1641 | 2034 | ||
1642 | Value: 2751 | 2035 | Value: 2751 |
1643 | Name: MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_RESERVE_UNKNOWN | 2036 | Name: MERCHANT_PRIVATE_POST_REWARD_AUTHORIZE_RESERVE_UNKNOWN |
1644 | Description: The reserve that was used to fund the tips was not found in the DB. | 2037 | Description: The reserve that was used to fund the rewards was not found in the DB. |
1645 | HttpStatus: 503 | 2038 | HttpStatus: 503 |
1646 | 2039 | ||
1647 | Value: 2752 | 2040 | Value: 2752 |
1648 | Name: MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_INSUFFICIENT_FUNDS | 2041 | Name: MERCHANT_PRIVATE_POST_REWARD_AUTHORIZE_INSUFFICIENT_FUNDS |
1649 | 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. | 2042 | Description: The backend knows the instance that was supposed to support the reward, and it was configured for rewardping. However, the funds remaining are insufficient to cover the reward, and the merchant should top up the reserve. |
1650 | HttpStatus: 0 | 2043 | HttpStatus: 0 |
1651 | 2044 | ||
1652 | Value: 2753 | 2045 | Value: 2753 |
1653 | Name: MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_RESERVE_NOT_FOUND | 2046 | Name: MERCHANT_PRIVATE_POST_REWARD_AUTHORIZE_RESERVE_NOT_FOUND |
1654 | Description: The backend failed to find a reserve needed to authorize the tip. | 2047 | Description: The backend failed to find a reserve needed to authorize the reward. |
1655 | HttpStatus: 503 | 2048 | HttpStatus: 503 |
1656 | 2049 | ||
1657 | Value: 2800 | 2050 | Value: 2800 |
@@ -1659,6 +2052,53 @@ Name: MERCHANT_PRIVATE_GET_ORDERS_ID_AMOUNT_ARITHMETIC_FAILURE | |||
1659 | Description: The merchant backend encountered a failure in computing the deposit total. | 2052 | Description: The merchant backend encountered a failure in computing the deposit total. |
1660 | HttpStatus: 200 | 2053 | HttpStatus: 200 |
1661 | 2054 | ||
2055 | # 2850-2899: template and OTP device operations | ||
2056 | |||
2057 | Value: 2850 | ||
2058 | Name: MERCHANT_PRIVATE_POST_TEMPLATES_CONFLICT_TEMPLATE_EXISTS | ||
2059 | Description: The template ID already exists. | ||
2060 | HttpStatus: 409 | ||
2061 | |||
2062 | Value: 2851 | ||
2063 | Name: MERCHANT_PRIVATE_POST_OTP_DEVICES_CONFLICT_OTP_DEVICE_EXISTS | ||
2064 | Description: The OTP device ID already exists. | ||
2065 | HttpStatus: 409 | ||
2066 | |||
2067 | Value: 2860 | ||
2068 | Name: MERCHANT_POST_USING_TEMPLATES_AMOUNT_CONFLICT_TEMPLATES_CONTRACT_AMOUNT | ||
2069 | Description: Amount given in the using template and in the template contract. There is a conflict. | ||
2070 | HttpStatus: 409 | ||
2071 | |||
2072 | Value: 2861 | ||
2073 | Name: MERCHANT_POST_USING_TEMPLATES_SUMMARY_CONFLICT_TEMPLATES_CONTRACT_SUBJECT | ||
2074 | Description: Subject given in the using template and in the template contract. There is a conflict. | ||
2075 | HttpStatus: 409 | ||
2076 | |||
2077 | Value: 2862 | ||
2078 | Name: MERCHANT_POST_USING_TEMPLATES_NO_AMOUNT | ||
2079 | Description: Amount not given in the using template and in the template contract. There is a conflict. | ||
2080 | HttpStatus: 409 | ||
2081 | |||
2082 | Value: 2863 | ||
2083 | Name: MERCHANT_POST_USING_TEMPLATES_NO_SUMMARY | ||
2084 | Description: Subject not given in the using template and in the template contract. There is a conflict. | ||
2085 | HttpStatus: 409 | ||
2086 | |||
2087 | |||
2088 | |||
2089 | # 2900-2949: webhook operations | ||
2090 | |||
2091 | Value: 2900 | ||
2092 | Name: MERCHANT_PRIVATE_POST_WEBHOOKS_CONFLICT_WEBHOOK_EXISTS | ||
2093 | Description: The webhook ID elready exists. | ||
2094 | HttpStatus: 409 | ||
2095 | |||
2096 | Value: 2910 | ||
2097 | Name: MERCHANT_PRIVATE_POST_PENDING_WEBHOOKS_CONFLICT_PENDING_WEBHOOK_EXISTS | ||
2098 | Description: The webhook serial elready exists. | ||
2099 | HttpStatus: 409 | ||
2100 | |||
2101 | |||
1662 | 2102 | ||
1663 | 2103 | ||
1664 | 2104 | ||
@@ -1691,19 +2131,14 @@ HttpStatus: 409 | |||
1691 | 2131 | ||
1692 | Value: 5103 | 2132 | Value: 5103 |
1693 | Name: BANK_NEGATIVE_NUMBER_AMOUNT | 2133 | Name: BANK_NEGATIVE_NUMBER_AMOUNT |
1694 | Description: Negative number was used (as value and/or fraction) to initiate a Amount object. | 2134 | Description: Negative numbers are not allowed (as value and/or fraction) to instantiate an amount object. |
1695 | HttpStatus: 400 | 2135 | HttpStatus: 400 |
1696 | 2136 | ||
1697 | Value: 5104 | 2137 | Value: 5104 |
1698 | Name: BANK_NUMBER_TOO_BIG | 2138 | Name: BANK_NUMBER_TOO_BIG |
1699 | Description: A number too big was used (as value and/or fraction) to initiate a amount object. | 2139 | Description: A too big number was used (as value and/or fraction) to instantiate an amount object. |
1700 | HttpStatus: 400 | 2140 | HttpStatus: 400 |
1701 | 2141 | ||
1702 | Value: 5105 | ||
1703 | Name: BANK_LOGIN_FAILED | ||
1704 | Description: Could not login for the requested operation. | ||
1705 | HttpStatus: 403 | ||
1706 | |||
1707 | Value: 5106 | 2142 | Value: 5106 |
1708 | Name: BANK_UNKNOWN_ACCOUNT | 2143 | Name: BANK_UNKNOWN_ACCOUNT |
1709 | Description: The bank account referenced in the requested operation was not found. | 2144 | Description: The bank account referenced in the requested operation was not found. |
@@ -1754,6 +2189,155 @@ Name: BANK_ANCIENT_TRANSACTION_GONE | |||
1754 | Description: The client requested a transaction that is so far in the past, that it has been forgotten by the bank. | 2189 | Description: The client requested a transaction that is so far in the past, that it has been forgotten by the bank. |
1755 | HttpStatus: 410 | 2190 | HttpStatus: 410 |
1756 | 2191 | ||
2192 | Value: 5116 | ||
2193 | Name: BANK_ABORT_CONFIRM_CONFLICT | ||
2194 | Description: The client attempted to abort a transaction that was already confirmed. | ||
2195 | HttpStatus: 409 | ||
2196 | |||
2197 | Value: 5117 | ||
2198 | Name: BANK_CONFIRM_ABORT_CONFLICT | ||
2199 | Description: The client attempted to confirm a transaction that was already aborted. | ||
2200 | HttpStatus: 409 | ||
2201 | |||
2202 | Value: 5118 | ||
2203 | Name: BANK_REGISTER_CONFLICT | ||
2204 | Description: The client attempted to register an account with the same name. | ||
2205 | HttpStatus: 409 | ||
2206 | |||
2207 | Value: 5119 | ||
2208 | Name: BANK_POST_WITHDRAWAL_OPERATION_REQUIRED | ||
2209 | Description: The client attempted to confirm a withdrawal operation before the wallet posted the required details. | ||
2210 | HttpStatus: 400 | ||
2211 | |||
2212 | Value: 5120 | ||
2213 | Name: BANK_RESERVED_USERNAME_CONFLICT | ||
2214 | Description: The client tried to register a new account under a reserved username (like 'admin' for example). | ||
2215 | HttpStatus: 409 | ||
2216 | |||
2217 | Value: 5121 | ||
2218 | Name: BANK_REGISTER_USERNAME_REUSE | ||
2219 | Description: The client tried to register a new account with an username already in use. | ||
2220 | HttpStatus: 409 | ||
2221 | |||
2222 | Value: 5122 | ||
2223 | Name: BANK_REGISTER_PAYTO_URI_REUSE | ||
2224 | Description: The client tried to register a new account with a payto:// URI already in use. | ||
2225 | HttpStatus: 409 | ||
2226 | |||
2227 | Value: 5123 | ||
2228 | Name: BANK_ACCOUNT_BALANCE_NOT_ZERO | ||
2229 | Description: The client tried to delete an account with a non null balance. | ||
2230 | HttpStatus: 409 | ||
2231 | |||
2232 | Value: 5124 | ||
2233 | Name: BANK_UNKNOWN_CREDITOR | ||
2234 | Description: The client tried to create a transaction or an operation that credit an unknown account. | ||
2235 | HttpStatus: 409 | ||
2236 | |||
2237 | Value: 5125 | ||
2238 | Name: BANK_UNKNOWN_DEBTOR | ||
2239 | Description: The client tried to create a transaction or an operation that debit an unknown account. | ||
2240 | HttpStatus: 409 | ||
2241 | |||
2242 | Value: 5126 | ||
2243 | Name: BANK_ACCOUNT_IS_EXCHANGE | ||
2244 | Description: The client tried to perform an action prohibited for exchange accounts. | ||
2245 | HttpStatus: 409 | ||
2246 | |||
2247 | Value: 5127 | ||
2248 | Name: BANK_ACCOUNT_IS_NOT_EXCHANGE | ||
2249 | Description: The client tried to perform an action reserved for exchange accounts. | ||
2250 | HttpStatus: 409 | ||
2251 | |||
2252 | Value: 5128 | ||
2253 | Name: BANK_BAD_CONVERSION | ||
2254 | Description: Received currency conversion is wrong. | ||
2255 | HttpStatus: 409 | ||
2256 | |||
2257 | Value: 5129 | ||
2258 | Name: BANK_MISSING_TAN_INFO | ||
2259 | Description: The account referenced in this operation is missing tan info for the chosen channel. | ||
2260 | HttpStatus: 409 | ||
2261 | |||
2262 | Value: 5130 | ||
2263 | Name: BANK_CONFIRM_INCOMPLETE | ||
2264 | Description: The client attempted to confirm a transaction with incomplete info. | ||
2265 | HttpStatus: 409 | ||
2266 | |||
2267 | Value: 5131 | ||
2268 | Name: BANK_TAN_RATE_LIMITED | ||
2269 | Description: The request rate is too high. The server is refusing requests to guard against brute-force attacks. | ||
2270 | HttpStatus: 429 | ||
2271 | |||
2272 | Value: 5132 | ||
2273 | Name: BANK_TAN_CHANNEL_NOT_SUPPORTED | ||
2274 | Description: This TAN channel is not supported. | ||
2275 | HttpStatus: 501 | ||
2276 | |||
2277 | Value: 5133 | ||
2278 | Name: BANK_TAN_CHANNEL_SCRIPT_FAILED | ||
2279 | Description: Failed to send TAN using the helper script. Either script is not found, or script timeout, or script terminated with a non-successful result. | ||
2280 | HttpStatus: 500 | ||
2281 | |||
2282 | Value: 5134 | ||
2283 | Name: BANK_TAN_CHALLENGE_FAILED | ||
2284 | Description: The client's response to the challenge was invalid. | ||
2285 | HttpStatus: 403 | ||
2286 | |||
2287 | Value: 5135 | ||
2288 | Name: BANK_NON_ADMIN_PATCH_LEGAL_NAME | ||
2289 | Description: A non-admin user has tried to change their legal name. | ||
2290 | HttpStatus: 409 | ||
2291 | |||
2292 | Value: 5136 | ||
2293 | Name: BANK_NON_ADMIN_PATCH_DEBT_LIMIT | ||
2294 | Description: A non-admin user has tried to change their debt limit. | ||
2295 | HttpStatus: 409 | ||
2296 | |||
2297 | Value: 5137 | ||
2298 | Name: BANK_NON_ADMIN_PATCH_MISSING_OLD_PASSWORD | ||
2299 | Description: A non-admin user has tried to change their password whihout providing the current one. | ||
2300 | HttpStatus: 409 | ||
2301 | |||
2302 | Value: 5138 | ||
2303 | Name: BANK_PATCH_BAD_OLD_PASSWORD | ||
2304 | Description: Provided old password does not match current password. | ||
2305 | HttpStatus: 409 | ||
2306 | |||
2307 | Value: 5139 | ||
2308 | Name: BANK_PATCH_ADMIN_EXCHANGE | ||
2309 | Description: An admin user has tried to become an exchange. | ||
2310 | HttpStatus: 409 | ||
2311 | |||
2312 | Value: 5140 | ||
2313 | Name: BANK_NON_ADMIN_PATCH_CASHOUT | ||
2314 | Description: A non-admin user has tried to change their cashout account. | ||
2315 | HttpStatus: 409 | ||
2316 | |||
2317 | Value: 5141 | ||
2318 | Name: BANK_NON_ADMIN_PATCH_CONTACT | ||
2319 | Description: A non-admin user has tried to change their contact info. | ||
2320 | HttpStatus: 409 | ||
2321 | |||
2322 | Value: 5142 | ||
2323 | Name: BANK_ADMIN_CREDITOR | ||
2324 | Description: The client tried to create a transaction that credit the admin account. | ||
2325 | HttpStatus: 409 | ||
2326 | |||
2327 | Value: 5143 | ||
2328 | Name: BANK_CHALLENGE_NOT_FOUND | ||
2329 | Description: The referenced challenge was not found. | ||
2330 | HttpStatus: 404 | ||
2331 | |||
2332 | Value: 5144 | ||
2333 | Name: BANK_TAN_CHALLENGE_EXPIRED | ||
2334 | Description: The referenced challenge has expired. | ||
2335 | HttpStatus: 409 | ||
2336 | |||
2337 | Value: 5145 | ||
2338 | Name: BANK_NON_ADMIN_SET_TAN_CHANNEL | ||
2339 | Description: A non-admin user has tried to create an account with 2fa. | ||
2340 | HttpStatus: 409 | ||
1757 | 2341 | ||
1758 | # 6000 - 6999: Reserved for sync | 2342 | # 6000 - 6999: Reserved for sync |
1759 | # 6000 - 6099: Reserved for SYNC_GENERIC | 2343 | # 6000 - 6099: Reserved for SYNC_GENERIC |
@@ -1823,6 +2407,17 @@ Name: SYNC_MISSING_CONTENT_LENGTH | |||
1823 | Description: The "Content-length" field for the upload is missing. | 2407 | Description: The "Content-length" field for the upload is missing. |
1824 | HttpStatus: 400 | 2408 | HttpStatus: 400 |
1825 | 2409 | ||
2410 | Value: 6113 | ||
2411 | Name: SYNC_GENERIC_BACKEND_ERROR | ||
2412 | Description: Sync had problems communicating with its payment backend. | ||
2413 | HttpStatus: 502 | ||
2414 | |||
2415 | Value: 6114 | ||
2416 | Name: SYNC_GENERIC_BACKEND_TIMEOUT | ||
2417 | Description: Sync experienced a timeout communicating with its payment backend. | ||
2418 | HttpStatus: 504 | ||
2419 | |||
2420 | |||
1826 | 2421 | ||
1827 | # 7000 - 7999: Reserved for wallet | 2422 | # 7000 - 7999: Reserved for wallet |
1828 | 2423 | ||
@@ -1907,8 +2502,8 @@ Description: A group of withdrawal operations (typically for the same reserve at | |||
1907 | HttpStatus: 0 | 2502 | HttpStatus: 0 |
1908 | 2503 | ||
1909 | Value: 7016 | 2504 | Value: 7016 |
1910 | Name: WALLET_TIPPING_COIN_SIGNATURE_INVALID | 2505 | Name: WALLET_REWARD_COIN_SIGNATURE_INVALID |
1911 | Description: The signature on a coin by the exchange's denomination key (obtained through the merchant via tipping) is invalid after unblinding it. | 2506 | Description: The signature on a coin by the exchange's denomination key (obtained through the merchant via a reward) is invalid after unblinding it. |
1912 | HttpStatus: 0 | 2507 | HttpStatus: 0 |
1913 | 2508 | ||
1914 | Value: 7017 | 2509 | Value: 7017 |
@@ -1936,7 +2531,72 @@ Name: WALLET_PENDING_OPERATION_FAILED | |||
1936 | Description: A pending operation failed, and thus the request can't be completed. | 2531 | Description: A pending operation failed, and thus the request can't be completed. |
1937 | HttpStatus: 0 | 2532 | HttpStatus: 0 |
1938 | 2533 | ||
1939 | # 8000 - 8999: Reserved for Anastasis | 2534 | Value: 7022 |
2535 | Name: WALLET_PAY_MERCHANT_SERVER_ERROR | ||
2536 | Description: A payment was attempted, but the merchant had an internal server error (5xx). | ||
2537 | HttpStatus: 0 | ||
2538 | |||
2539 | Value: 7023 | ||
2540 | Name: WALLET_CRYPTO_WORKER_ERROR | ||
2541 | Description: The crypto worker failed. | ||
2542 | HttpStatus: 0 | ||
2543 | |||
2544 | Value: 7024 | ||
2545 | Name: WALLET_CRYPTO_WORKER_BAD_REQUEST | ||
2546 | Description: The crypto worker received a bad request. | ||
2547 | HttpStatus: 0 | ||
2548 | |||
2549 | Value: 7025 | ||
2550 | Name: WALLET_WITHDRAWAL_KYC_REQUIRED | ||
2551 | Description: A KYC step is required before withdrawal can proceed. | ||
2552 | HttpStatus: 0 | ||
2553 | |||
2554 | Value: 7026 | ||
2555 | Name: WALLET_DEPOSIT_GROUP_INSUFFICIENT_BALANCE | ||
2556 | Description: The wallet does not have sufficient balance to create a deposit group. | ||
2557 | HttpStatus: 0 | ||
2558 | |||
2559 | Value: 7027 | ||
2560 | Name: WALLET_PEER_PUSH_PAYMENT_INSUFFICIENT_BALANCE | ||
2561 | Description: The wallet does not have sufficient balance to create a peer push payment. | ||
2562 | HttpStatus: 0 | ||
2563 | |||
2564 | Value: 7028 | ||
2565 | Name: WALLET_PEER_PULL_PAYMENT_INSUFFICIENT_BALANCE | ||
2566 | Description: The wallet does not have sufficient balance to pay for an invoice. | ||
2567 | HttpStatus: 0 | ||
2568 | |||
2569 | Value: 7029 | ||
2570 | Name: WALLET_REFRESH_GROUP_INCOMPLETE | ||
2571 | Description: A group of refresh operations has errors and will be tried again later. | ||
2572 | HttpStatus: 0 | ||
2573 | |||
2574 | Value: 7030 | ||
2575 | Name: WALLET_EXCHANGE_BASE_URL_MISMATCH | ||
2576 | Description: The exchange's self-reported base URL does not match the one that the wallet is using. | ||
2577 | HttpStatus: 0 | ||
2578 | |||
2579 | Value: 7031 | ||
2580 | Name: WALLET_ORDER_ALREADY_PAID | ||
2581 | Description: The order has already been paid by another wallet. | ||
2582 | HttpStatus: 0 | ||
2583 | |||
2584 | Value: 7032 | ||
2585 | Name: WALLET_EXCHANGE_UNAVAILABLE | ||
2586 | Description: An exchange that is required for some request is currently not available. | ||
2587 | HttpStatus: 0 | ||
2588 | |||
2589 | Value: 7033 | ||
2590 | Name: WALLET_EXCHANGE_ENTRY_USED | ||
2591 | Description: An exchange entry is still used by the exchange, thus it can't be deleted without purging. | ||
2592 | HttpStatus: 0 | ||
2593 | |||
2594 | Value: 7034 | ||
2595 | Name: WALLET_DB_UNAVAILABLE | ||
2596 | Description: The wallet database is unavailable and the wallet thus is not operational. | ||
2597 | HttpStatus: 0 | ||
2598 | |||
2599 | # 8000 - 8499: Reserved for Anastasis | ||
1940 | 2600 | ||
1941 | Value: 8000 | 2601 | Value: 8000 |
1942 | Name: ANASTASIS_GENERIC_BACKEND_TIMEOUT | 2602 | Name: ANASTASIS_GENERIC_BACKEND_TIMEOUT |
@@ -2278,8 +2938,26 @@ Name: ANASTASIS_REDUCER_PROVIDERS_ALREADY_SYNCED | |||
2278 | Description: The reducer already synchronized with all providers. | 2938 | Description: The reducer already synchronized with all providers. |
2279 | HttpStatus: 0 | 2939 | HttpStatus: 0 |
2280 | 2940 | ||
2941 | # 8500 - 8600: Frosix | ||
2281 | 2942 | ||
2282 | # 9000 - 9998: LibEuFin. | 2943 | # 8600 - 8700: Donau |
2944 | |||
2945 | Value: 8607 | ||
2946 | Name: DONAU_GENERIC_KEYS_MISSING | ||
2947 | Description: The Donau failed to perform the operation as it could not find the private keys. This is a problem with the Donau setup, not with the client's request. | ||
2948 | HttpStatus: 503 | ||
2949 | |||
2950 | Value: 8608 | ||
2951 | Name: DONAU_CHARITY_SIGNATURE_INVALID | ||
2952 | Description: The signature of the charity key is not valid. | ||
2953 | HttpStatus: 403 | ||
2954 | |||
2955 | Value: 8609 | ||
2956 | Name: DONAU_CHARITY_NOT_FOUND | ||
2957 | Description: The charity is unknown. | ||
2958 | HttpStatus: 404 | ||
2959 | |||
2960 | # 9000 - 9599: LibEuFin. | ||
2283 | 2961 | ||
2284 | Value: 9000 | 2962 | Value: 9000 |
2285 | Name: LIBEUFIN_NEXUS_GENERIC_ERROR | 2963 | Name: LIBEUFIN_NEXUS_GENERIC_ERROR |
@@ -2301,7 +2979,70 @@ Name: LIBEUFIN_SANDBOX_UNCAUGHT_EXCEPTION | |||
2301 | Description: An uncaught exception happened in the LibEuFin sandbox service. | 2979 | Description: An uncaught exception happened in the LibEuFin sandbox service. |
2302 | HttpStatus: 500 | 2980 | HttpStatus: 500 |
2303 | 2981 | ||
2982 | # 9600 - 9749: Taldir | ||
2983 | Value: 9600 | ||
2984 | Name: TALDIR_METHOD_NOT_SUPPORTED | ||
2985 | Description: This validation method is not supported by the service. | ||
2986 | HttpStatus: 404 | ||
2987 | |||
2988 | Value: 9601 | ||
2989 | Name: TALDIR_REGISTER_RATE_LIMITED | ||
2990 | Description: Number of allowed attempts for initiating a challenge exceeded. | ||
2991 | HttpStatus: 429 | ||
2992 | |||
2993 | # 9750-9999: Challenger | ||
2994 | Value: 9750 | ||
2995 | Name: CHALLENGER_GENERIC_CLIENT_UNKNOWN | ||
2996 | Description: The client is unknown or unauthorized. | ||
2997 | HttpStatus: 404 | ||
2998 | |||
2999 | Value: 9751 | ||
3000 | Name: CHALLENGER_GENERIC_CLIENT_FORBIDDEN_BAD_REDIRECT_URI | ||
3001 | Description: The client is not authorized to use the given redirect URI. | ||
3002 | HttpStatus: 403 | ||
3003 | |||
3004 | Value: 9752 | ||
3005 | Name: CHALLENGER_HELPER_EXEC_FAILED | ||
3006 | Description: The service failed to execute its helper process to send the challenge. | ||
3007 | HttpStatus: 500 | ||
3008 | |||
3009 | Value: 9753 | ||
3010 | Name: CHALLENGER_GRANT_UNKNOWN | ||
3011 | Description: The grant is unknown to the service (it could also have expired). | ||
3012 | HttpStatus: 404 | ||
3013 | |||
3014 | Value: 9754 | ||
3015 | Name: CHALLENGER_CLIENT_FORBIDDEN_BAD_CODE | ||
3016 | Description: The code given is not even well-formed. | ||
3017 | HttpStatus: 403 | ||
3018 | |||
3019 | Value: 9755 | ||
3020 | Name: CHALLENGER_GENERIC_VALIDATION_UNKNOWN | ||
3021 | Description: The service is not aware of the referenced validation process. | ||
3022 | HttpStatus: 404 | ||
3023 | |||
3024 | Value: 9756 | ||
3025 | Name: CHALLENGER_CLIENT_FORBIDDEN_INVALID_CODE | ||
3026 | Description: The code given is not valid. | ||
3027 | HttpStatus: 403 | ||
3028 | |||
3029 | Value: 9757 | ||
3030 | Name: CHALLENGER_TOO_MANY_ATTEMPTS | ||
3031 | Description: Too many attempts have been made, validation is temporarily disabled for this address. | ||
3032 | HttpStatus: 429 | ||
3033 | |||
3034 | Value: 9758 | ||
3035 | Name: CHALLENGER_INVALID_PIN | ||
3036 | Description: The PIN code provided is incorrect. | ||
3037 | HttpStatus: 403 | ||
3038 | |||
3039 | Value: 9759 | ||
3040 | Name: CHALLENGER_MISSING_ADDRESS | ||
3041 | Description: The token cannot be valid as no address was ever provided by the client. | ||
3042 | HttpStatus: 409 | ||
3043 | |||
2304 | 3044 | ||
3045 | # Some of our build systems expect the range to be < 10k, so let's keep it like this for now. | ||
2305 | Value: 9999 | 3046 | Value: 9999 |
2306 | Name: END | 3047 | Name: END |
2307 | Description: End of error code range. | 3048 | Description: End of error code range. |