gana

GNUnet Assigned Numbers Authority
Log | Files | Refs | README | LICENSE

commit d29bf0d5d09f0655fcf2a73d913b47169458d8ff
parent 1f4d834d8a5f6d18d9d063926971d6c633988ab5
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 21 Feb 2024 20:03:33 +0100

sort registry.rec, also ensure C code is generated sorted even if registry is not

Diffstat:
Mgnu-taler-error-codes/Makefile | 4++--
Mgnu-taler-error-codes/registry.rec | 77++++++++++++++++++++++++++++++++++++++++-------------------------------------
Mgnu-taler-error-codes/taler_error_codes.rst | 388++++++++++++++++++++++++++++++++++++++++---------------------------------------
3 files changed, 240 insertions(+), 229 deletions(-)

diff --git a/gnu-taler-error-codes/Makefile b/gnu-taler-error-codes/Makefile @@ -25,7 +25,7 @@ prep: # if nothing changed, we use 'diff' to make sure that 'recsel' # actually changed the result. combined.tmp: registry.rec prep - recsel -t TalerErrorCode -j HttpStatus -p Description,Name,Value,HttpStatus,HttpStatus.Value,HttpStatus.Identifier ../http-status-codes/registry.rec registry.rec > combined.xtmp + recsel --sort=Value -t TalerErrorCode -j HttpStatus -p Description,Name,Value,HttpStatus,HttpStatus.Value,HttpStatus.Identifier ../http-status-codes/registry.rec registry.rec > combined.xtmp if ! diff $@ combined.xtmp > /dev/null; then mv combined.xtmp $@; else rm combined.xtmp; fi combined-escaped.tmp: combined.tmp @@ -64,7 +64,7 @@ taler_error_codes.kt: kt.header taler_error_codes.kt.tmp kt.footer taler_error_codes.py.tmp: combined.tmp py.template ../format.sh py.template < combined.tmp > $@ -taler_error_codes.py: py.header taler_error_codes.py.tmp +taler_error_codes.py: py.header taler_error_codes.py.tmp cat $^ > $@ taler_error_codes.go.tmp: combined.tmp go.template diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec @@ -1650,8 +1650,7 @@ Name: MERCHANT_POST_ORDERS_ID_PAID_COIN_SIGNATURE_INVALID Description: The signature of the merchant is not valid for the given contract hash. HttpStatus: 403 -# 2250-2299: post orders ID abort endpoint - +# 2250-2256: post orders ID abort endpoint Value: 2251 Name: MERCHANT_POST_ORDERS_ID_ABORT_EXCHANGE_REFUND_FAILED @@ -1683,6 +1682,44 @@ Name: MERCHANT_POST_ORDERS_ID_ABORT_COINS_ARRAY_EMPTY Description: The array of coins cannot be empty. HttpStatus: 400 +Value: 2258 +Name: MERCHANT_EXCHANGE_TRANSFERS_AWAITING_KEYS +Description: We are waiting for the exchange to provide us with key material before checking the wire transfer. +HttpStatus: 202 + +Value: 2259 +Name: MERCHANT_EXCHANGE_TRANSFERS_AWAITING_LIST +Description: We are waiting for the exchange to provide us with the list of aggregated transactions. +HttpStatus: 202 + + +Value: 2260 +Name: MERCHANT_EXCHANGE_TRANSFERS_FATAL_NO_EXCHANGE +Description: The endpoint indicated in the wire transfer does not belong to a GNU Taler exchange. +HttpStatus: 200 + +Value: 2261 +Name: MERCHANT_EXCHANGE_TRANSFERS_FATAL_NOT_FOUND +Description: The exchange indicated in the wire transfer claims to know nothing about the wire transfer. +HttpStatus: 0 + +Value: 2262 +Name: MERCHANT_EXCHANGE_TRANSFERS_RATE_LIMITED +Description: The interaction with the exchange is delayed due to rate limiting. +HttpStatus: 202 + +Value: 2263 +Name: MERCHANT_EXCHANGE_TRANSFERS_TRANSIENT_FAILURE +Description: We experienced a transient failure in our interaction with the exchange. +HttpStatus: 202 + +Value: 2264 +Name: MERCHANT_EXCHANGE_TRANSFERS_HARD_FAILURE +Description: The response from the exchange was unacceptable and should be reviewed with an auditor. +HttpStatus: 200 + + + # 2300-2349: post orders ID claim endpoint Value: 2300 @@ -1876,46 +1913,12 @@ Name: MERCHANT_PRIVATE_POST_TRANSFERS_CONFLICTING_SUBMISSION 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. HttpStatus: 409 -Value: 2258 -Name: MERCHANT_EXCHANGE_TRANSFERS_AWAITING_KEYS -Description: We are waiting for the exchange to provide us with key material before checking the wire transfer. -HttpStatus: 202 - -Value: 2259 -Name: MERCHANT_EXCHANGE_TRANSFERS_AWAITING_LIST -Description: We are waiting for the exchange to provide us with the list of aggregated transactions. -HttpStatus: 202 - -Value: 2260 -Name: MERCHANT_EXCHANGE_TRANSFERS_FATAL_NO_EXCHANGE -Description: The endpoint indicated in the wire transfer does not belong to a GNU Taler exchange. -HttpStatus: 200 - -Value: 2261 -Name: MERCHANT_EXCHANGE_TRANSFERS_FATAL_NOT_FOUND -Description: The exchange indicated in the wire transfer claims to know nothing about the wire transfer. -HttpStatus: 0 - -Value: 2262 -Name: MERCHANT_EXCHANGE_TRANSFERS_RATE_LIMITED -Description: The interaction with the exchange is delayed due to rate limiting. -HttpStatus: 202 - -Value: 2263 -Name: MERCHANT_EXCHANGE_TRANSFERS_TRANSIENT_FAILURE -Description: We experienced a transient failure in our interaction with the exchange. -HttpStatus: 202 - -Value: 2264 -Name: MERCHANT_EXCHANGE_TRANSFERS_HARD_FAILURE -Description: The response from the exchange was unacceptable and should be reviewed with an auditor. -HttpStatus: 200 - Value: 2563 Name: MERCHANT_EXCHANGE_TRANSFERS_CONFLICTING_TRANSFERS Description: The amount transferred differs between what was submitted and what the exchange claimed. HttpStatus: 0 + # 2600-2649: instance operations Value: 2600 diff --git a/gnu-taler-error-codes/taler_error_codes.rst b/gnu-taler-error-codes/taler_error_codes.rst @@ -19,171 +19,11 @@ Entries * - INVALID - 1 - 0 (UNINITIALIZED) - - A non-integer error code was returned in the JSON response. - * - GENERIC_CLIENT_INTERNAL_ERROR - - 2 - - 0 (UNINITIALIZED) - - An internal failure happened on the client side. + - 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. * - GENERIC_INVALID_RESPONSE - 10 - 0 (UNINITIALIZED) - - The response we got from the server was not even in JSON format. - * - GENERIC_TIMEOUT - - 11 - - 0 (UNINITIALIZED) - - An operation timed out. - * - GENERIC_VERSION_MALFORMED - - 12 - - 0 (UNINITIALIZED) - - The version string given does not follow the expected CURRENT:REVISION:AGE Format. - * - GENERIC_REPLY_MALFORMED - - 13 - - 0 (UNINITIALIZED) - - 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. - * - GENERIC_CONFIGURATION_INVALID - - 14 - - 0 (UNINITIALIZED) - - There is an error in the client-side configuration, for example the base URL specified is malformed. - * - GENERIC_UNEXPECTED_REQUEST_ERROR - - 15 - - 0 (UNINITIALIZED) - - The client made a request to a service, but received an error response it does not know how to handle. - * - GENERIC_TOKEN_PERMISSION_INSUFFICIENT - - 16 - - 403 (FORBIDDEN) - - The token used by the client to authorize the request does not grant the required permissions for the request. - * - GENERIC_METHOD_INVALID - - 20 - - 405 (METHOD_NOT_ALLOWED) - - The HTTP method used is invalid for this endpoint. - * - GENERIC_ENDPOINT_UNKNOWN - - 21 - - 404 (NOT_FOUND) - - There is no endpoint defined for the URL provided by the client. - * - GENERIC_JSON_INVALID - - 22 - - 400 (BAD_REQUEST) - - The JSON in the client's request was malformed (generic parse error). - * - GENERIC_HTTP_HEADERS_MALFORMED - - 23 - - 400 (BAD_REQUEST) - - Some of the HTTP headers provided by the client caused the server to not be able to handle the request. - * - GENERIC_PAYTO_URI_MALFORMED - - 24 - - 400 (BAD_REQUEST) - - The payto:// URI provided by the client is malformed. - * - GENERIC_PARAMETER_MISSING - - 25 - - 400 (BAD_REQUEST) - - A required parameter in the request was missing. - * - GENERIC_PARAMETER_MALFORMED - - 26 - - 400 (BAD_REQUEST) - - A parameter in the request was malformed. - * - GENERIC_RESERVE_PUB_MALFORMED - - 27 - - 400 (BAD_REQUEST) - - The reserve public key given as part of a /reserves/ endpoint was malformed. - * - GENERIC_COMPRESSION_INVALID - - 28 - - 400 (BAD_REQUEST) - - The body in the request could not be decompressed by the server. - * - GENERIC_CURRENCY_MISMATCH - - 30 - - 400 (BAD_REQUEST) - - The currency involved in the operation is not acceptable for this backend. - * - GENERIC_URI_TOO_LONG - - 31 - - 414 (URI_TOO_LONG) - - The URI is longer than the longest URI the HTTP server is willing to parse. - * - GENERIC_UPLOAD_EXCEEDS_LIMIT - - 32 - - 413 (CONTENT_TOO_LARGE) - - The body is too large to be permissible for the endpoint. - * - GENERIC_UNAUTHORIZED - - 40 - - 401 (UNAUTHORIZED) - - The service refused the request due to lack of proper authorization. - * - GENERIC_TOKEN_UNKNOWN - - 41 - - 401 (UNAUTHORIZED) - - The service refused the request as the given authorization token is unknown. - * - GENERIC_TOKEN_EXPIRED - - 42 - - 401 (UNAUTHORIZED) - - The service refused the request as the given authorization token expired. - * - GENERIC_TOKEN_MALFORMED - - 43 - - 401 (UNAUTHORIZED) - - The service refused the request as the given authorization token is malformed. - * - GENERIC_FORBIDDEN - - 44 - - 403 (FORBIDDEN) - - The service refused the request due to lack of proper rights on the resource. - * - GENERIC_DB_SETUP_FAILED - - 50 - - 500 (INTERNAL_SERVER_ERROR) - - The service failed initialize its connection to the database. - * - GENERIC_DB_START_FAILED - - 51 - - 500 (INTERNAL_SERVER_ERROR) - - The service encountered an error event to just start the database transaction. - * - GENERIC_DB_STORE_FAILED - - 52 - - 500 (INTERNAL_SERVER_ERROR) - - The service failed to store information in its database. - * - GENERIC_DB_FETCH_FAILED - - 53 - - 500 (INTERNAL_SERVER_ERROR) - - The service failed to fetch information from its database. - * - GENERIC_DB_COMMIT_FAILED - - 54 - - 500 (INTERNAL_SERVER_ERROR) - - The service encountered an error event to commit the database transaction (hard, unrecoverable error). - * - GENERIC_DB_SOFT_FAILURE - - 55 - - 500 (INTERNAL_SERVER_ERROR) - - 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.) - * - GENERIC_DB_INVARIANT_FAILURE - - 56 - - 500 (INTERNAL_SERVER_ERROR) - - The service's database is inconsistent and violates service-internal invariants. - * - GENERIC_INTERNAL_INVARIANT_FAILURE - - 60 - - 500 (INTERNAL_SERVER_ERROR) - - The HTTP server experienced an internal invariant failure (bug). - * - GENERIC_FAILED_COMPUTE_JSON_HASH - - 61 - - 500 (INTERNAL_SERVER_ERROR) - - The service could not compute a cryptographic hash over some JSON value. - * - GENERIC_FAILED_COMPUTE_AMOUNT - - 62 - - 500 (INTERNAL_SERVER_ERROR) - - The service could not compute an amount. - * - GENERIC_PARSER_OUT_OF_MEMORY - - 70 - - 500 (INTERNAL_SERVER_ERROR) - - The HTTP server had insufficient memory to parse the request. - * - GENERIC_ALLOCATION_FAILURE - - 71 - - 500 (INTERNAL_SERVER_ERROR) - - The HTTP server failed to allocate memory. - * - GENERIC_JSON_ALLOCATION_FAILURE - - 72 - - 500 (INTERNAL_SERVER_ERROR) - - The HTTP server failed to allocate memory for building JSON reply. - * - GENERIC_CURL_ALLOCATION_FAILURE - - 73 - - 500 (INTERNAL_SERVER_ERROR) - - The HTTP server failed to allocate memory for making a CURL request. - * - GENERIC_FAILED_TO_LOAD_TEMPLATE - - 74 - - 500 (INTERNAL_SERVER_ERROR) - - The backend could not locate a required template to generate an HTML reply. - * - GENERIC_FAILED_TO_EXPAND_TEMPLATE - - 75 - - 500 (INTERNAL_SERVER_ERROR) - - The backend could not expand the template to generate an HTML reply. + - 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. * - EXCHANGE_GENERIC_BAD_CONFIGURATION - 1000 - 500 (INTERNAL_SERVER_ERROR) @@ -336,6 +176,10 @@ Entries - 1037 - 500 (INTERNAL_SERVER_ERROR) - The exchange failed to start a KYC attribute conversion helper process. It is likely configured incorrectly. + * - GENERIC_TIMEOUT + - 11 + - 0 (UNINITIALIZED) + - The operation timed out. Trying again might help. Check the network connection. * - EXCHANGE_DEPOSITS_GET_NOT_FOUND - 1100 - 404 (NOT_FOUND) @@ -432,6 +276,10 @@ Entries - 1175 - 409 (CONFLICT) - The batch withdraw included a planchet that was already withdrawn. This is not allowed. + * - GENERIC_VERSION_MALFORMED + - 12 + - 0 (UNINITIALIZED) + - 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. * - EXCHANGE_DEPOSIT_COIN_SIGNATURE_INVALID - 1205 - 403 (FORBIDDEN) @@ -480,6 +328,10 @@ Entries - 1252 - 403 (FORBIDDEN) - The reserve history was requested with a bad signature. + * - GENERIC_REPLY_MALFORMED + - 13 + - 0 (UNINITIALIZED) + - 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. * - EXCHANGE_MELT_FEES_EXCEED_CONTRIBUTION - 1302 - 400 (BAD_REQUEST) @@ -544,6 +396,10 @@ Entries - 1365 - 400 (BAD_REQUEST) - The client provided invalid age commitment data: missing, not an array, or array of invalid size. + * - GENERIC_CONFIGURATION_INVALID + - 14 + - 0 (UNINITIALIZED) + - 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. * - EXCHANGE_LINK_COIN_UNKNOWN - 1400 - 404 (NOT_FOUND) @@ -572,6 +428,10 @@ Entries - 1476 - 0 (UNINITIALIZED) - The signature on the purse status returned by the exchange was invalid. + * - GENERIC_UNEXPECTED_REQUEST_ERROR + - 15 + - 0 (UNINITIALIZED) + - 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. * - EXCHANGE_REFUND_COIN_NOT_FOUND - 1500 - 404 (NOT_FOUND) @@ -656,6 +516,10 @@ Entries - 1580 - 404 (NOT_FOUND) - The coin's denomination has not been revoked yet. + * - GENERIC_TOKEN_PERMISSION_INSUFFICIENT + - 16 + - 403 (FORBIDDEN) + - 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. * - EXCHANGE_KEYS_TIMETRAVEL_FORBIDDEN - 1600 - 403 (FORBIDDEN) @@ -1040,6 +904,14 @@ Entries - 1980 - 0 (UNINITIALIZED) - TOTP key is not valid. + * - GENERIC_CLIENT_INTERNAL_ERROR + - 2 + - 0 (UNINITIALIZED) + - 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. + * - GENERIC_METHOD_INVALID + - 20 + - 405 (METHOD_NOT_ALLOWED) + - 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. * - MERCHANT_GENERIC_INSTANCE_UNKNOWN - 2000 - 404 (NOT_FOUND) @@ -1132,6 +1004,10 @@ Entries - 2024 - 409 (CONFLICT) - The currency specified in the operation does not work with the current state of the given resource. + * - GENERIC_ENDPOINT_UNKNOWN + - 21 + - 404 (NOT_FOUND) + - 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. * - MERCHANT_GET_ORDERS_EXCHANGE_TRACKING_FAILURE - 2100 - 200 (OK) @@ -1252,6 +1128,10 @@ Entries - 2175 - 409 (CONFLICT) - 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. + * - GENERIC_JSON_INVALID + - 22 + - 400 (BAD_REQUEST) + - 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. * - MERCHANT_POST_ORDERS_ID_PAID_CONTRACT_HASH_MISMATCH - 2200 - 400 (BAD_REQUEST) @@ -1284,6 +1164,38 @@ Entries - 2256 - 400 (BAD_REQUEST) - The array of coins cannot be empty. + * - MERCHANT_EXCHANGE_TRANSFERS_AWAITING_KEYS + - 2258 + - 202 (ACCEPTED) + - We are waiting for the exchange to provide us with key material before checking the wire transfer. + * - MERCHANT_EXCHANGE_TRANSFERS_AWAITING_LIST + - 2259 + - 202 (ACCEPTED) + - We are waiting for the exchange to provide us with the list of aggregated transactions. + * - MERCHANT_EXCHANGE_TRANSFERS_FATAL_NO_EXCHANGE + - 2260 + - 200 (OK) + - The endpoint indicated in the wire transfer does not belong to a GNU Taler exchange. + * - MERCHANT_EXCHANGE_TRANSFERS_FATAL_NOT_FOUND + - 2261 + - 0 (UNINITIALIZED) + - The exchange indicated in the wire transfer claims to know nothing about the wire transfer. + * - MERCHANT_EXCHANGE_TRANSFERS_RATE_LIMITED + - 2262 + - 202 (ACCEPTED) + - The interaction with the exchange is delayed due to rate limiting. + * - MERCHANT_EXCHANGE_TRANSFERS_TRANSIENT_FAILURE + - 2263 + - 202 (ACCEPTED) + - We experienced a transient failure in our interaction with the exchange. + * - MERCHANT_EXCHANGE_TRANSFERS_HARD_FAILURE + - 2264 + - 200 (OK) + - The response from the exchange was unacceptable and should be reviewed with an auditor. + * - GENERIC_HTTP_HEADERS_MALFORMED + - 23 + - 400 (BAD_REQUEST) + - 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. * - MERCHANT_POST_ORDERS_ID_CLAIM_NOT_FOUND - 2300 - 404 (NOT_FOUND) @@ -1300,6 +1212,10 @@ Entries - 2350 - 0 (UNINITIALIZED) - The backend failed to sign the refund request. + * - GENERIC_PAYTO_URI_MALFORMED + - 24 + - 400 (BAD_REQUEST) + - 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. * - MERCHANT_REWARD_PICKUP_UNBLIND_FAILURE - 2400 - 0 (UNINITIALIZED) @@ -1324,6 +1240,10 @@ Entries - 2407 - 409 (CONFLICT) - The merchant did not find the specified denomination key in the exchange's key set. + * - GENERIC_PARAMETER_MISSING + - 25 + - 400 (BAD_REQUEST) + - 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. * - MERCHANT_PRIVATE_POST_ORDERS_INSTANCE_CONFIGURATION_LACKS_WIRE - 2500 - 404 (NOT_FOUND) @@ -1424,38 +1344,14 @@ Entries - 2557 - 409 (CONFLICT) - 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. - * - MERCHANT_EXCHANGE_TRANSFERS_AWAITING_KEYS - - 2258 - - 202 (ACCEPTED) - - We are waiting for the exchange to provide us with key material before checking the wire transfer. - * - MERCHANT_EXCHANGE_TRANSFERS_AWAITING_LIST - - 2259 - - 202 (ACCEPTED) - - We are waiting for the exchange to provide us with the list of aggregated transactions. - * - MERCHANT_EXCHANGE_TRANSFERS_FATAL_NO_EXCHANGE - - 2260 - - 200 (OK) - - The endpoint indicated in the wire transfer does not belong to a GNU Taler exchange. - * - MERCHANT_EXCHANGE_TRANSFERS_FATAL_NOT_FOUND - - 2261 - - 0 (UNINITIALIZED) - - The exchange indicated in the wire transfer claims to know nothing about the wire transfer. - * - MERCHANT_EXCHANGE_TRANSFERS_RATE_LIMITED - - 2262 - - 202 (ACCEPTED) - - The interaction with the exchange is delayed due to rate limiting. - * - MERCHANT_EXCHANGE_TRANSFERS_TRANSIENT_FAILURE - - 2263 - - 202 (ACCEPTED) - - We experienced a transient failure in our interaction with the exchange. - * - MERCHANT_EXCHANGE_TRANSFERS_HARD_FAILURE - - 2264 - - 200 (OK) - - The response from the exchange was unacceptable and should be reviewed with an auditor. * - MERCHANT_EXCHANGE_TRANSFERS_CONFLICTING_TRANSFERS - 2563 - 0 (UNINITIALIZED) - The amount transferred differs between what was submitted and what the exchange claimed. + * - GENERIC_PARAMETER_MALFORMED + - 26 + - 400 (BAD_REQUEST) + - 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. * - MERCHANT_PRIVATE_POST_INSTANCES_ALREADY_EXISTS - 2600 - 409 (CONFLICT) @@ -1512,6 +1408,10 @@ Entries - 2680 - 409 (CONFLICT) - The deletion request is for a product that is locked. + * - GENERIC_RESERVE_PUB_MALFORMED + - 27 + - 400 (BAD_REQUEST) + - The reserve public key was malformed. * - MERCHANT_PRIVATE_POST_RESERVES_UNSUPPORTED_WIRE_METHOD - 2700 - 409 (CONFLICT) @@ -1540,6 +1440,10 @@ Entries - 2753 - 503 (SERVICE_UNAVAILABLE) - The backend failed to find a reserve needed to authorize the reward. + * - GENERIC_COMPRESSION_INVALID + - 28 + - 400 (BAD_REQUEST) + - 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. * - MERCHANT_PRIVATE_GET_ORDERS_ID_AMOUNT_ARITHMETIC_FAILURE - 2800 - 200 (OK) @@ -1576,6 +1480,14 @@ Entries - 2910 - 409 (CONFLICT) - The webhook serial elready exists. + * - GENERIC_CURRENCY_MISMATCH + - 30 + - 400 (BAD_REQUEST) + - 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. + * - GENERIC_URI_TOO_LONG + - 31 + - 414 (URI_TOO_LONG) + - 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. * - AUDITOR_DEPOSIT_CONFIRMATION_SIGNATURE_INVALID - 3100 - 403 (FORBIDDEN) @@ -1584,6 +1496,38 @@ Entries - 3101 - 410 (GONE) - The exchange key used for the signature on the deposit confirmation was revoked. + * - GENERIC_UPLOAD_EXCEEDS_LIMIT + - 32 + - 413 (CONTENT_TOO_LARGE) + - 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. + * - GENERIC_UNAUTHORIZED + - 40 + - 401 (UNAUTHORIZED) + - The service refused the request due to lack of proper authorization. + * - GENERIC_TOKEN_UNKNOWN + - 41 + - 401 (UNAUTHORIZED) + - The service refused the request as the given authorization token is unknown. + * - GENERIC_TOKEN_EXPIRED + - 42 + - 401 (UNAUTHORIZED) + - The service refused the request as the given authorization token expired. + * - GENERIC_TOKEN_MALFORMED + - 43 + - 401 (UNAUTHORIZED) + - The service refused the request as the given authorization token is malformed. + * - GENERIC_FORBIDDEN + - 44 + - 403 (FORBIDDEN) + - The service refused the request due to lack of proper rights on the resource. + * - GENERIC_DB_SETUP_FAILED + - 50 + - 500 (INTERNAL_SERVER_ERROR) + - 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. + * - GENERIC_DB_START_FAILED + - 51 + - 500 (INTERNAL_SERVER_ERROR) + - The service encountered an error event to just start the database transaction. The system administrator should check that the database is running. * - BANK_SAME_ACCOUNT - 5101 - 400 (BAD_REQUEST) @@ -1760,6 +1704,34 @@ Entries - 5145 - 409 (CONFLICT) - A non-admin user has tried to create an account with 2fa. + * - GENERIC_DB_STORE_FAILED + - 52 + - 500 (INTERNAL_SERVER_ERROR) + - The service failed to store information in its database. The system administrator should check that the database is running and review the service logs. + * - GENERIC_DB_FETCH_FAILED + - 53 + - 500 (INTERNAL_SERVER_ERROR) + - The service failed to fetch information from its database. The system administrator should check that the database is running and review the service logs. + * - GENERIC_DB_COMMIT_FAILED + - 54 + - 500 (INTERNAL_SERVER_ERROR) + - 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. + * - GENERIC_DB_SOFT_FAILURE + - 55 + - 500 (INTERNAL_SERVER_ERROR) + - 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. + * - GENERIC_DB_INVARIANT_FAILURE + - 56 + - 500 (INTERNAL_SERVER_ERROR) + - 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. + * - GENERIC_INTERNAL_INVARIANT_FAILURE + - 60 + - 500 (INTERNAL_SERVER_ERROR) + - 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. + * - GENERIC_FAILED_COMPUTE_JSON_HASH + - 61 + - 500 (INTERNAL_SERVER_ERROR) + - 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. * - SYNC_ACCOUNT_UNKNOWN - 6100 - 404 (NOT_FOUND) @@ -1820,6 +1792,14 @@ Entries - 6114 - 504 (GATEWAY_TIMEOUT) - Sync experienced a timeout communicating with its payment backend. + * - GENERIC_FAILED_COMPUTE_AMOUNT + - 62 + - 500 (INTERNAL_SERVER_ERROR) + - The service could not compute an amount. Check if you are using the latest available version and/or file a report with the developers. + * - GENERIC_PARSER_OUT_OF_MEMORY + - 70 + - 500 (INTERNAL_SERVER_ERROR) + - 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. * - WALLET_EXCHANGE_PROTOCOL_VERSION_INCOMPATIBLE - 7000 - 501 (NOT_IMPLEMENTED) @@ -1956,6 +1936,30 @@ Entries - 7033 - 0 (UNINITIALIZED) - An exchange entry is still used by the exchange, thus it can't be deleted without purging. + * - WALLET_DB_UNAVAILABLE + - 7034 + - 0 (UNINITIALIZED) + - The wallet database is unavailable and the wallet thus is not operational. + * - GENERIC_ALLOCATION_FAILURE + - 71 + - 500 (INTERNAL_SERVER_ERROR) + - 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. + * - GENERIC_JSON_ALLOCATION_FAILURE + - 72 + - 500 (INTERNAL_SERVER_ERROR) + - 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. + * - GENERIC_CURL_ALLOCATION_FAILURE + - 73 + - 500 (INTERNAL_SERVER_ERROR) + - 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. + * - GENERIC_FAILED_TO_LOAD_TEMPLATE + - 74 + - 500 (INTERNAL_SERVER_ERROR) + - 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. + * - GENERIC_FAILED_TO_EXPAND_TEMPLATE + - 75 + - 500 (INTERNAL_SERVER_ERROR) + - 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. * - ANASTASIS_GENERIC_BACKEND_TIMEOUT - 8000 - 504 (GATEWAY_TIMEOUT) @@ -2220,6 +2224,10 @@ Entries - 8420 - 0 (UNINITIALIZED) - The reducer already synchronized with all providers. + * - DONAU_GENERIC_KEYS_MISSING + - 8607 + - 503 (SERVICE_UNAVAILABLE) + - 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. * - LIBEUFIN_NEXUS_GENERIC_ERROR - 9000 - 0 (UNINITIALIZED)