Error Codes Reference

Complete list of TCF error codes with descriptions and recommended actions.

Client Errors

CodeHTTPDescription
INVALID_ENVELOPE400Message envelope failed JSON Schema validation
UNSUPPORTED_VERSION400Requested TCF version not supported by server
UNAUTHORIZED401Missing or invalid authentication credentials
FORBIDDEN403Authenticated user lacks permission
RECIPIENT_NOT_FOUND404Recipient ID does not exist
RATE_LIMITED429Too many requests from this sender
MESSAGE_TOO_LARGE413Message exceeds maximum size limit

Server Errors

CodeHTTPDescription
INTERNAL_ERROR500Unexpected server error
SERVICE_UNAVAILABLE503Server is temporarily overloaded
GATEWAY_TIMEOUT504Upstream server did not respond in time

Protocol Errors

CodeDescription
VERSION_MISMATCHClient and server could not agree on TCF version
INVALID_CONTENT_TYPEContent type not recognised
SIGNATURE_INVALIDMessage signature verification failed