---
title: AI_COMPARE_JOBS_ERROR error condition
description: Documentation for the AI\_COMPARE\_JOBS\_ERROR error condition on Databricks
canonical_url: https://docs.databricks.com/gcp/en/error-messages/ai-compare-jobs-error-error-class
---

# AI\_COMPARE\_JOBS\_ERROR error condition

[SQLSTATE: 56000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Failed to compare the two job runs.

## HTTP\_REQUEST\_FAILED

The remote HTTP request failed: `<errorMessage>`

## INTERNAL\_ERROR

An internal error occurred: `<errorMessage>`

## INVALID\_RUN\_ID

Invalid run ID `<runId>`: unable to resolve the associated cluster. Verify that the run ID is correct and that you have permission to view it.

## LLM\_AUTH\_FAILED

LLM endpoint `<endpointName>` rejected the request with HTTP `<httpStatusCode>`: `<errorMessage>`. Verify the calling identity has access to the endpoint.

## LLM\_ENDPOINT\_NOT\_FOUND

LLM endpoint `<endpointName>` was not found (HTTP `<httpStatusCode>`): `<errorMessage>`. The model may not be available in this workspace.

## LLM\_NETWORK\_TIMEOUT

LLM endpoint `<endpointName>` request timed out: `<errorMessage>`. The endpoint may be slow or the prompt too large.

## LLM\_NETWORK\_UNREACHABLE

Cannot reach LLM endpoint `<endpointName>`: `<errorMessage>`. Check workspace network configuration.

## LLM\_NOT\_APPROVED

LLM endpoint `<endpointName>` is not approved for this workspace: `<errorMessage>`. Use a model approved for this workspace's admin.

## LLM\_RATE\_LIMITED

LLM endpoint `<endpointName>` rate-limited the request (HTTP `<httpStatusCode>`): `<errorMessage>`. Retry later.

## LLM\_SERVER\_ERROR

LLM endpoint `<endpointName>` returned a server error (HTTP `<httpStatusCode>`): `<errorMessage>`.

## MALFORMED\_RESPONSE

The LLM endpoint returned a malformed response: `<errorMessage>`

## MISSING\_EVENT\_LOGS

Spark event logs are not available from log destination `<logDestination>`. `AI_COMPARE_JOBS` requires readable event logs to analyze Spark execution.

## SQL\_VALIDATION\_FAILED

The generated SQL query did not pass safety validation: `<reason>`.
