PressOne eSIM Developer Platform
  1. Voice-only eSIM
PressOne eSIM Developer Platform
  • OVERVIEW
    • Introduction
    • Attribute descriptions
    • FAQ
    • User journeys
      • Top-up Journey
      • Purchase Journey
    • Guides
      • eSIM installation methods for API Partners
      • How to generate the QR code for an eSIM
  • REST API
    • Data / Data + Voice + SMS eSIM
      • Introduction
      • Error handling
      • Endpoints
        • Authenticate
          • Request access token
        • Check balance
          • Get balance
        • Compatible devices
          • Get compatible device lite list
        • Browse packages
          • Get packages
        • Place order
          • Submit order
        • Install eSIM
          • Get eSIM
          • Get installation instructions
        • Monitor usage
          • Get usage (data, text & voice)
        • Place top up order
          • Get top-up package list
          • Submit top-up order
        • Manage orders
          • Get order list
          • Get order
        • Manage eSIMs
          • Get eSIMs list
          • Get eSIM package history
    • Voice-only eSIM
      • Getting Started
      • Error handling
      • Endpoints
        • List Available Numbers
        • Claim Number
        • Renew Number
        • List User
  1. Voice-only eSIM

Error handling

The Voice-Only eSIM Service returns errors in a JSON response format with the following structure:
{
  "message": "string",
  "success": false,
  "code": "4001"
}
Error Response Fields:
message: A descriptive error message explaining what went wrong
success: Always false for error responses
code: A numeric error code identifier (e.g., "4001")
The API uses appropriate HTTP status codes to depict the status of the response. The client should handle any uncaught exceptions that might bubble up from the API.
Common Error Codes:
4001: General error (example code provided in documentation)
Note: The Voice-Only eSIM Service uses standard HTTP status codes along with the error code in the response body. Always check both the HTTP status code and the error code in the response for proper error handling.

Modified at 2025-11-16 11:30:01
Previous
Getting Started
Next
List Available Numbers
Built with