Skip to main content
Errors answer with Content-Type: application/problem+json and the same shape everywhere. Over MCP, the same object comes back as a tool result with isError: true.
Brelio’s web app shows these codes in Spanish to the clinic, so the same error reads the same everywhere.

Invalid input

422 OPERATION_INPUT_INVALID lists each problem by path and code, never echoing the values (they may be patient data):

Retry or not

Every code

These are the codes the platform and its operations raise today. An operation can also pass through a code from Brelio’s own rules (for example a plan limit), always in the same shape, with a detail that explains it: treat an unknown code by its status.

Authentication and access

Requests

A REST call that fails unexpectedly answers 500 with the x-request-id header.

Versions

Appointments and free slots

Patients

Credentials

Data policy

Webhooks