PactbasePactbase DocsDocs
API

Errors

Status codes and error codes.

Errors are JSON:

{ "error": "API key expired", "code": "API_KEY_EXPIRED", "request_id": "..." }

Quote the request_id when you contact support.

StatusCodeMeaning
400VALIDATION_ERROR, INVALID_PERIOD, INVALID_CURSORA parameter is wrong
400UNKNOWN_PURPOSE, NO_PURPOSES, NO_NOTICE, UNKNOWN_WEBSITERecording consent: a purpose not on the collection point, a collection point with no purposes, no published notice, or a website that is not yours
401MISSING_API_KEY, INVALID_API_KEY, API_KEY_REVOKED, API_KEY_EXPIREDThe key is missing, wrong, revoked or expired
403IP_NOT_ALLOWEDThe call came from an address the key does not allow
403MISSING_SCOPEThe key lacks the scope this call needs
404UNKNOWN_COLLECTION_POINT, UNKNOWN_WEBSITEA filter on consent records names something you do not have
404NOT_FOUNDNo active collection point with that slug or id
409TRUST_CENTER_OFFPortal sessions: Manage my data is switched off
409noneLogging a deletion: the schedule is on legal hold
429RATE_LIMITEDToo many calls. Wait a minute