Snowflake · Schema

QueryFailureStatus

Status returned when a query execution fails.

Data LakesData SharingData WarehousingDatabaseSQL

Properties

Name Type Description
code string Error code for the query failure.
sqlState string SQL state code indicating the error category.
message string Error message describing the failure.
statementHandle string Handle that uniquely identifies the failed statement.
createdOn integer Timestamp that specifies when the statement execution started. The timestamp is expressed in milliseconds since the epoch.
statementStatusUrl string URL for checking the status of the failed statement.
View JSON Schema on GitHub

JSON Schema

snowflake-sql-rest-query-failure-status-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "QueryFailureStatus",
  "type": "object",
  "description": "Status returned when a query execution fails.",
  "properties": {
    "code": {
      "type": "string",
      "description": "Error code for the query failure."
    },
    "sqlState": {
      "type": "string",
      "description": "SQL state code indicating the error category."
    },
    "message": {
      "type": "string",
      "description": "Error message describing the failure."
    },
    "statementHandle": {
      "type": "string",
      "description": "Handle that uniquely identifies the failed statement."
    },
    "createdOn": {
      "type": "integer",
      "description": "Timestamp that specifies when the statement execution started. The timestamp is expressed in milliseconds since the epoch."
    },
    "statementStatusUrl": {
      "type": "string",
      "description": "URL for checking the status of the failed statement."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/snowflake-sql-rest-query-failure-status"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.