Stellar PHP SDK API Documentation

SEP31UnknownResponseException extends Exception

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
Tags
see
https://github.com/stellar/stellar-protocol/blob/v3.1.0/ecosystem/sep-0031.md
see
CrossBorderPaymentsService

Table of Contents


        
On this page
  • Table Of Contents

Search results