Skip to main content
Error format The Lerian SISBAJUD Mensageria and the Lerian SISBAJUD executor use the same error codes, SBJ-0001 to SBJ-0011, with the same HTTP statuses. A license refusal answers 403 with an LCS- code. An operation error uses RFC 9457 problem details with the application/problem+json media type:
Field definitions
  • code – A stable identifier for the error, in the form SBJ-NNNN. Branch on this value.
  • 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, Bad Request).
  • status – The HTTP status code.
  • detail – Guidance for this occurrence of the error. For 5xx responses, the detail carries the static text internal error, so use code to branch.
  • errors – Optional list of per-field validation details, each with a message and a location.
Some refusals happen before the request reaches an operation, for example an unsupported method or a rate limit. They answer the same code and title in a plain JSON body. The execution API, which the executor calls on the Mensageria, is different: its 409 and 422 responses use a problem body without an SBJ- code.

Client errors


Server errors