---
title: JSON_QUERY_ON_ERROR error condition
description: Documentation for the JSON\_QUERY\_ON\_ERROR error condition on Databricks
canonical_url: https://docs.databricks.com/gcp/en/error-messages/json-query-on-error-error-class
---

# JSON\_QUERY\_ON\_ERROR error condition

[SQLSTATE: 2203G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

`<functionName>` could not extract a value at path `<path>`.

## EMPTY

The path matched no value. This error was requested by the `ERROR ON EMPTY` clause.

## ERROR

The input is not valid `JSON`. This error was requested by the `ERROR ON ERROR` clause.
