---
title: "ErrorForbidden"
description: "Details of an error returned for a forbidden request."
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 error returned for a forbidden request.

## Fields

- `error_message` (`ErrorForbidden.error_message`; string, optional) — Short description of the error.
  - example `"request_not_allowed"`
- `error_code` (`ErrorForbidden.error_code`; string, optional) — Platform code for the error.
  - example `"FORBIDDEN"`
- `status_code` (`ErrorForbidden.status_code`; string, optional) — HTTP status code for the error.
  - example `"403"`


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