SEP24AuthenticationRequiredException
extends Exception
in package
Exception thrown when a SEP-24 request requires authentication but none was provided.
This exception is raised when the anchor service returns HTTP 403 Forbidden, indicating that the request requires authentication via SEP-10 or SEP-45. All endpoints in SEP-24 may require authentication at the anchor's discretion, even if authentication is listed as optional in the specification.
HTTP Status: 403 Forbidden
Client Handling:
- Obtain a valid SEP-10 JWT token via authentication flow
- Retry the request with the JWT in the Authorization header
- Ensure the token has not expired
- Verify the token has appropriate permissions for the requested operation