---
title: "ErrorResponse"
url: "https://devcenter.stone.com.br/apis/stone-online-legacy/versions/4fb6db99-cd62-490f-8c0f-b04e7c2acd41/schemas/ErrorResponse"
---

> Full API specification: https://devcenter.stone.com.br/apis/stone-online-legacy/versions/4fb6db99-cd62-490f-8c0f-b04e7c2acd41.md

# ErrorResponse

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Stone Online · API (Legado)
  version: 1.0.0
servers:
  - url: https://payments.stone.com.br/v1
    description: Payment API Production Server
components:
  schemas:
    ErrorResponse:
      type: object
      required:
        - error_code
        - details
      properties:
        error_code:
          type: string
          description: Código do erro para contribuir em investigações
        request_key:
          type: string
          description: Identificador da requisição que permite investigação do erro
        details:
          type: array
          description: Lista de detalhamento dos erros que ocorreram
          items:
            type: object
            required:
              - message
            properties:
              message:
                type: string
                description: Mensagem do erro
              item:
                type: string
                description: Item que causou o retorno de erro, se aplicável
```
