---
title: "Error"
description: "Details of an API 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 an API error.

## Fields

- `message` (`Error.message`; string, optional) — Short description of the error.
  - example `"Resource not found"`
- `error_code` (`Error.error_code`; string, optional) — Platform code for the error.
  - example `"NOT_FOUND"`


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