---
title: "Error"
description: "Every non-2xx answer. Clients branch on code, never on message."
---

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

Path: Trails API

Every non-2xx answer. Clients branch on code, never on message.

## Fields

- `Error.error` (object, required)
  - `Error.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `Error.error.message` (string, required)
    - maxLength 1024
  - `Error.error.column` (integer, optional) — invalid_query: where the SQL went wrong.
  - `Error.error.line` (integer, optional) — invalid_query: where the SQL went wrong.
  - `Error.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Trails Query's are audit.queries.queriesPerHour and audit.queries.bytesReadPerHour, rate quotas with a PT1H window. Never with Retry-After.
    - `Error.error.quota.id` (string, required)
    - `Error.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `Error.error.quota.limit` (integer, required)
      - min 0
    - `Error.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `Error.error.quota.inFlight` (integer, optional)
      - min 0
    - `Error.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `Error.error.quota.region` (string, optional)
    - `Error.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `Error.error.quota.scopeResourceName` (string, optional)
    - `Error.error.quota.used` (integer, optional)
      - min 0
    - `Error.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.
  - `Error.error.reason` (string, optional) — query_failed: the query's own error code.


Source: https://docs.ezghcloud.com/trails-api/schemas/Error/index.md
