---
title: "errors.problem@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/errors.problem"
updated: null
---

# errors.problem@1 · OpenVibe.Services

HTML: [errors.problem@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/errors.problem)

# Problem `errors.problem@1`

Generated at 2026-12-01 05:42:00 UTC from [`openvibe-contracts v0.454.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.454.0) and [`openvibe-sdk v0.193.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.193.0).

- Version: 1.0.0
- Owner: contracts
- Visibility: public
- Status: active
- Compatibility: backward
- Decision: [ADR-002](/docs/adr/ADR-002)
- Schema: [`https://openvibe.network/contracts/errors/problem.v1.json`](/docs/contracts/errors.problem.json)

RFC 9457 problem details (application/problem+json) with a stable OpenVibe error code and trace identifiers. The legacy 'error' string is allowed during migration so existing clients keep working.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `type` | string | yes |  | - `format uri-reference` |
| `title` | string | yes |  | - `minLength 1` |
| `status` | integer | yes |  | - `minimum 400`<br>- `maximum 599` |
| `detail` | string |  |  |  |
| `instance` | string |  |  | - `format uri-reference` |
| `code` | string | yes |  | - `pattern ^[a-z][a-z0-9_]*(\.[a-z0-9_]+)*$` |
| `request_id` | string |  |  |  |
| `trace_id` | string |  |  | - `pattern ^[0-9a-f]{32}$` |
| `errors` | array of object |  |  |  |
| `errors[].path` | string |  |  |  |
| `errors[].message` | string | yes |  |  |
| `error` | string |  | Deprecated compatibility field: same text as title/detail for clients that read {error}. |  |

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: denied

~~~~
{
  "type": "https://openvibe.network/problems/capability.denied",
  "title": "Forbidden",
  "status": 403,
  "code": "capability.denied",
  "detail": "media.object.upload not granted",
  "request_id": "req_0123456789ab",
  "trace_id": "4bf92f3577b34da6a3ce929d0e0e4736",
  "error": "media.object.upload not granted"
}
~~~~

Valid: space-blocked

~~~~
{
  "type": "https://openvibe.network/problems/space.blocked",
  "title": "Forbidden",
  "status": 403,
  "code": "space.blocked",
  "detail": "One of you blocked the other"
}
~~~~

Rejected: 2xx-status

~~~~
{
  "type": "about:blank",
  "title": "OK",
  "status": 200,
  "code": "ok"
}
~~~~

Rejected: bad-trace

~~~~
{
  "type": "about:blank",
  "title": "x",
  "status": 400,
  "code": "x",
  "trace_id": "nope"
}
~~~~

Rejected: no-code

~~~~
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('errors.problem@1', value);   // { valid, errors: [{ path, message }] }
~~~~
