SEP31UnknownResponseException
extends Exception
in package
Exception thrown when a SEP-31 request returns an unexpected HTTP status code.
This exception is raised when the server responds with a status code that is not explicitly handled by the SDK. The status code and response body are available in the exception message and code.
Common unexpected status codes:
- 401 Unauthorized: Invalid or missing JWT token
- 403 Forbidden: Valid JWT but insufficient permissions
- 500 Internal Server Error: Server-side error
- 503 Service Unavailable: Temporary service disruption