commit 340c00d6c02ce64b77d0f8cc46662a2d90d002dd
parent ba8303bcff2e71cc00a3d71fef730fa51d7087b0
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 6 Aug 2026 18:31:13 +0200
new ECs for challenger
Diffstat:
1 file changed, 44 insertions(+), 4 deletions(-)
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec
@@ -3874,7 +3874,7 @@ HttpStatus: 429
# 9750-9800: Challenger
Value: 9750
Name: CHALLENGER_GENERIC_CLIENT_UNKNOWN
-Description: The client is unknown or unauthorized.
+Description: The service does not know a client with the given client identifier, or the given client secret does not match it. Used where no client has been authenticated yet.
HttpStatus: 404
Value: 9751
@@ -3889,7 +3889,7 @@ HttpStatus: 502
Value: 9753
Name: CHALLENGER_GRANT_UNKNOWN
-Description: The grant is unknown to the service (it could also have expired).
+Description: The authorization grant is unknown to the service (it could also have been redeemed already or have expired).
HttpStatus: 400
Value: 9754
@@ -3899,8 +3899,8 @@ HttpStatus: 400
Value: 9755
Name: CHALLENGER_GENERIC_VALIDATION_UNKNOWN
-Description: The service is not aware of the referenced validation process.
-HttpStatus: 400
+Description: The service is not aware of the referenced validation process, or it has expired.
+HttpStatus: 404
Value: 9756
Name: CHALLENGER_CLIENT_FORBIDDEN_INVALID_CODE
@@ -3927,6 +3927,46 @@ Name: CHALLENGER_CLIENT_FORBIDDEN_READ_ONLY
Description: The client is not allowed to change the address being validated.
HttpStatus: 403
+Value: 9761
+Name: CHALLENGER_NO_CHALLENGE_TRANSMITTED
+Description: No challenge was ever transmitted for this validation, so it cannot be solved yet. The user must provide their address first.
+HttpStatus: 409
+
+Value: 9762
+Name: CHALLENGER_ADDRESS_RESTRICTION_VIOLATED
+Description: An address field does not match the regular expression configured for it. The detail names the offending field.
+HttpStatus: 400
+
+Value: 9763
+Name: CHALLENGER_ADDRESS_RESTRICTION_MALFORMED
+Description: The address restriction configured for this field is missing its regular expression or the expression failed to compile. This is a server misconfiguration.
+HttpStatus: 500
+
+Value: 9764
+Name: CHALLENGER_TOO_MANY_ADDRESS_CHANGES
+Description: The number of times the address may be changed for this validation has been exhausted. The user must request a fresh nonce from the client.
+HttpStatus: 429
+
+Value: 9765
+Name: CHALLENGER_TOO_MANY_PIN_TRANSMISSIONS
+Description: The number of times the challenge may be transmitted for this validation has been exhausted. The user may still try a different address if changes remain.
+HttpStatus: 429
+
+Value: 9766
+Name: CHALLENGER_NO_PIN_ATTEMPTS_LEFT
+Description: The number of attempts to enter the PIN has been exhausted. The user may still request a retransmission or change the address.
+HttpStatus: 429
+
+Value: 9767
+Name: CHALLENGER_CLIENT_AUTHENTICATION_FAILED
+Description: Authentication of the client failed: the client identifier and client secret presented do not match a registered client. Returned where the endpoint authenticates the client, so the reply challenges for credentials.
+HttpStatus: 401
+
+Value: 9768
+Name: CHALLENGER_TOKEN_UNKNOWN
+Description: The access token presented is malformed, unknown or expired. Malformed and unknown tokens are deliberately not distinguished.
+HttpStatus: 401
+
# 9800-9850: Paivana
Value: 9800
Name: PAIVANA_PAYMENT_MISSING