commit 94114bb3067373ed5a3a05ccbde590079c218994 parent a9635de59f96a3f11659537026462aa20bfea53c Author: Christian Grothoff <christian@grothoff.org> Date: Tue, 4 Feb 2025 10:51:23 +0100 improve error code descriptions Diffstat:
| M | gnu-taler-error-codes/registry.rec | | | 10 | +++++----- |
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec @@ -159,27 +159,27 @@ HttpStatus: 413 # 40-49: access control issues Value: 0040 Name: GENERIC_UNAUTHORIZED -Description: The service refused the request due to lack of proper authorization. +Description: The service refused the request due to lack of proper authorization. Accessing this endpoint requires an access token from the account owner. HttpStatus: 401 Value: 0041 Name: GENERIC_TOKEN_UNKNOWN -Description: The service refused the request as the given authorization token is unknown. +Description: The service refused the request as the given authorization token is unknown. You should request a valid access token from the account owner. HttpStatus: 401 Value: 0042 Name: GENERIC_TOKEN_EXPIRED -Description: The service refused the request as the given authorization token expired. +Description: The service refused the request as the given authorization token expired. You should request a fresh authorization token from the account owner. HttpStatus: 401 Value: 0043 Name: GENERIC_TOKEN_MALFORMED -Description: The service refused the request as the given authorization token is malformed. +Description: The service refused the request as the given authorization token is invalid or malformed. You should check that you have the right credentials. HttpStatus: 401 Value: 0044 Name: GENERIC_FORBIDDEN -Description: The service refused the request due to lack of proper rights on the resource. +Description: The service refused the request due to lack of proper rights on the resource. You may need different credentials to be allowed to perform this operation. HttpStatus: 403 # Server-side database problems (50-59)