---
title: "ErrorDetail"
canonical: "https://openfinanceguide.com/en/stet/1.6.3/resources/error-detail"
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."
---

# ErrorDetail

Type: `object` · Kind: Technical

detailed error description

Fields:

- `location`, `string` — Location of the erroneous parameter when not in request body
  Values:
  - `header`
  - `query`
- `name`, `string` — Name of the erroneous parameter when not in request body
- `path`, `string` — JsonPath of the erroneous request body property
- `erroneousValue`, `string` — Erroneous parameter value
- `message`, `string` — Relevant message for the erroneous parameter
- `expectedPattern`, `string` — Expected pattern, if any, that the erroneous parameter does not match with
- `expectedValueRange`, `object` — Expected value range, if any, that the erroneous parameter does not match with
  - `minValue`, `integer`
  - `maxValue`, `integer`
- `expectedValueCount`, `object` — Expected value count, in the case of an array item, that the erroneous parameter does not match with
  - `minValue`, `integer`
  - `maxValue`, `integer`
- `expectedEnumeration`, array of `string` — Expected enumeration, if any, that the erroneous parameter do not match with

## Example

```json
{
  "location": "header",
  "name": "string",
  "path": "string",
  "erroneousValue": "string",
  "message": "string",
  "expectedPattern": "string",
  "expectedValueRange": {},
  "expectedValueCount": {},
  "expectedEnumeration": [
    "string"
  ]
}
```

## 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)
