Skip to main content

Pacifica API Response Codes (REST API)

Error Response Format

Error responses can carry an error_id: a stable string that names the failure. Match on error_id, not on error, because the message text can change.
Signature failures return status 400 with one of these error_id values: A request with an invalid field returns status 400 and lists each bad field in details:

Business Logic Errors (Code 422)

These values are returned in the code field of a 422 response. Note: codes 57, 58, 60, and 98 are currently unused/reserved. Codes 114–118 are each shared by two distinct error variants in the backend.

WebSocket Error Codes