Skip to main content
SuprSend uses standard HTTP response codes to indicate the success or failure of your API requests. This page covers common error codes and how to handle them.

Success Codes

Error Codes

Error Response Format

All error responses follow a consistent format:

Common Error Codes and their solutions

401 Unauthorized - authentication_failed

Causes:
  • Missing or invalid service token
  • Expired service token
  • Using environment API key instead of service token
Correct Syntax to authorize Management API:

400 Bad Request - validation_error

Common Causes:
  • Missing required fields
  • Invalid field formats
  • Invalid enum values
Example:

404 Not Found

Common Causes:
  • Given entity in the request is not found
Example: