---
title: "ErrorModel"
canonical: "https://openfinanceguide.com/en/stet/1.6.3/resources/error-model"
edition: "STET PSD2 API 1.6.3.1"
source: "https://openfinanceguide.com/docs/stet/1.6.3/pdf/api-dsp2-stet-v1.6.3.2-openapi.yaml"
pdf: "https://openfinanceguide.com/docs/stet/1.6.3/pdf/api-dsp2-stet-v1.6.3.1-part-2-functional-model.pdf"
language: "en"
normative: "The normative text is the English PDF and OpenAPI file published by STET. This Markdown reproduces it for reading; where they differ, the PDF prevails."
license: "CC BY 3.0 FR (https://creativecommons.org/licenses/by/3.0/fr/), STET. Converted to Markdown by Open Finance Guide."
---

# ErrorModel

Type: `object` · Kind: Technical

Generic error report structure

Fields:

- `timestamp`, `string (date-time)` — current timestamp
- `status`, `integer (int32)`, required — HTTP error code
- `error`, `string` — HTTP error text
  Constraints: maxLength 140.
- `message`, `string`, required — HTTP textual reason phrase
  Constraints: maxLength 140.
- `path`, `string` — Relevant path that was used
  Constraints: maxLength 140.
- `details`, array of [`ErrorDetail`](https://openfinanceguide.com/raw/stet/1.6.3/en/resources/error-detail.md) — list of detailed errors that were encountered

## Example

```json
{
  "timestamp": "2021-03-17T16:47:00.187248+01:00",
  "status": 400,
  "error": "Bad Request",
  "message": "This Authentication Approach is not available",
  "details": [
    {
      "path": "$.supplementaryData.acceptedAuthenticationApproach",
      "erroneousValue": "EMBEDDED",
      "expectedEnumeration": [
        "REDIRECT",
        "DECOUPLED"
      ]
    }
  ]
}
```

## Used by

- `GET /accounts/{accountResourceId}/balances` (accountsBalancesGet)
- `GET /accounts` (accountsGet)
- `GET /accounts/{accountResourceId}/overdrafts` (accountsOverdraftsGet)
- `GET /accounts/{accountResourceId}/owners` (accountsOwnersGet)
- `GET /accounts/{accountResourceId}/transactions/{transactionResourceId}/details` (accountsTransactionsDetailsGet)
- `GET /accounts/{accountResourceId}/transactions` (accountsTransactionsGet)
- `PUT /consents` (consentsPut)
- `GET /end-user-identity` (EndUserIdentityGet)
- `POST /funds-confirmations` (fundsConfirmationsPost)
- `POST /payment-requests/{paymentRequestResourceId}/confirmation` (paymentRequestConfirmationPost)
- `PUT /payment-requests/{paymentRequestResourceId}` (paymentRequestPut)
- `GET /payment-requests/{paymentRequestResourceId}` (paymentRequestsGet)
- `POST /payment-requests` (paymentRequestsPost)
- `GET /payment-requests/{paymentRequestResourceId}/transactions` (paymentRequestTransactionsGet)
- `GET /trusted-beneficiaries` (trustedBeneficiariesGet)
