Avid PubSuite Partner API
  1. Getting Started
Avid PubSuite Partner API
  • Pubsuite API Introduction
  • Getting Started
    • Authentication
    • Response Format
    • Error Codes
    • Usage Limits
  • Endpoints
    • Endpoints / Resources Introduction
    • Global Pubsuite Reference Libaries
    • Workspace Organisation Users
      • Organisation Users List
      • Organisation User By Id
    • Advertiser Accounts
      • Advertiser Accounts List
      • Account Detail
      • Account Delete
      • Account Create
      • Account Update
    • Advertiser Account Members
      • Advertiser Account Members
      • Adv Account Member Detail
      • Account Delete
      • Advertiser Account Member Create
      • Account Update
    • Campaigns
      • Campaign Body Parameters
      • Campaigns
      • Campaign
      • Delete Campaign
      • Campaign Details
      • Update Campaign
    • Phases
      • Phase Body Parameters
      • Phases List
      • Phase
      • Phase Detail
      • Delete Phase
      • Phase Update
    • Content
      • Content Body Parameters
      • Contents
      • Content Detail
      • Create Content
      • Delete Content
      • Update Content
    • Distributions
      • Distribution Body Parameters
      • Distributions List
      • Create Distributions
      • Delete Distribution
      • Distribution Details
      • Distribution Update
    • Publisher Profiles
      • Coming Soon
      • Publisher Profiles
      • Publisher Profile
      • Delete Publisher Profile
    • Publisher Products
      • Coming Soon
    • Data Sources
      • Coming Soon
    • Webhooks
      • Services
      • Create/Update Service
      • Registered Webhooks
      • Create Webhook
      • Update Webhook
      • Delete Webhook
  • Outbound Events
    • Outbound Events
  1. Getting Started

Error Codes

Error Handling Overview#

The API uses standardized error responses to help developers quickly identify and resolve issues. Each error response includes:
A relevant HTTP status code (e.g. 401, 403, 422)
A unique, machine-readable error code (e.g. API_KEY_INVALID)
A short, human-readable message describing the error
An optional errors array for field-specific issues (typically with 422 responses)
Use these codes to programmatically handle errors in your client logic or display clear messages to users.

Common Error Codes#

Authentication Errors#

StatusCodeDescription
401API_KEY_REQUIREDNo API key was provided
401API_KEY_INVALIDAPI key is invalid or unauthorized

Access Errors#

StatusCodeDescription
403ACCESS_DENIED_IPAccess denied due to IP restrictions
403ACCESS_DENIED_PERMISSIONSAPI key lacks required permissions
403API_KEY_DISABLEDThe API key has been disabled

Request Errors#

StatusCodeDescription
400BAD_REQUESTMalformed request or missing fields
404RESOURCE_NOT_FOUNDRequested resource does not exist
409CONFLICTRequest conflicts with existing data
422VALIDATION_FAILEDValidation errors — see errors array for details

System Errors#

StatusCodeDescription
500INTERNAL_SERVER_ERRORUnexpected server error
502BAD_GATEWAYInvalid response from an upstream service
503SERVICE_UNAVAILABLEService is temporarily down (e.g., maintenance)
504GATEWAY_TIMEOUTNo response from an upstream service in time

Error Object Reference#

PropertyTypeDescription
successbooleanWhether the request was successful (true/false)
codestringError code identifier (e.g., API_KEY_INVALID)
messagestringHuman-readable error message
errorsarrayOptional array of field-specific or validation errors

Previous
Response Format
Next
Usage Limits