---
title: "DetailsError"
description: "Details of a request validation error."
image: "https://developer.sumup.com/og/index.png"
---

> Documentation Index
> Fetch the complete documentation index at: https://developer.sumup.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: SumUp REST API

Details of a request validation error.

## Fields

- `title` (`DetailsError.title`; string, optional) — Short title of the error.
  - example `"Bad Request"`
- `details` (`DetailsError.details`; string, optional) — Details of the error.
  - example `"One or more of the parameters are invalid."`
- `status` (`DetailsError.status`; number, optional) — HTTP status code for the error.
  - example `400`
- `failed_constraints` (`DetailsError.failed_constraints`; array<object>, optional) — List of violated validation constraints.
  - example `[{"message":"Currency must also be specified when filtering by amount","reference":"currency"}]`
  - `message` (`DetailsError.failed_constraints.message`; string, optional) — Human-readable description of the violated constraint.
    - example `"Currency must also be specified when filtering by amount"`
  - `reference` (`DetailsError.failed_constraints.reference`; string, optional) — Name of the field that violated the constraint.
    - example `"currency"`


Source: https://developer.sumup.com/api/schemas/DetailsError/index.md
