Skip to main content
Error format Lerian SRC operations return errors as RFC 9457 problem details with the application/problem+json media type:
Field definitions
  • type – A URI that identifies the error in the Lerian error catalog, built as https://errors.lerian.studio/v1/<code>.
  • title – The HTTP status text (for example, Unprocessable Entity).
  • status – The HTTP status code.
  • detail – A human-readable explanation of this occurrence. For 5xx responses, the detail reads internal error. Branch on code instead.
  • instance – The path of the request.
  • traceId – The trace identifier of the request.
  • correlationId – The request-scoped correlation identifier.
  • code – A stable identifier for the error. Branch on this field. Two errors can share a status and still differ here. SRC-0003 and SRC-0101 both answer 409.
  • violations – A list of field-level validation errors, each with a field, a reason, and an optional code.
  • details – Optional structured context about the error.

Request errors


These errors apply to the request itself.

Institution record and evidence errors


These errors apply to institution records and to corrections of the evidence trail.

Availability errors


These errors mean that Lerian SRC could not complete the request. When BACEN or the messaging channel is unavailable, Lerian SRC still accepts consultations, and they stay pending.