Skip to main content

AI_DIAGNOSE_ERROR error condition

SQLSTATE: 56000

Failed to diagnose the issue.

CONTEXT_WINDOW_EXCEEDED

Context window exceeded: estimated <estimatedTokens> tokens exceeds max allowed token of <thresholdTokens>.

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. Please verify that the run ID is correct and that you have permission to view it.

MALFORMED_RESPONSE

The LLM endpoint returned a malformed response: <errorMessage>

MISSING_EVENT_LOGS

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

TOOL_CALL_TIMEOUT

Tool timed out after <timeoutSeconds> seconds.

UNSUPPORTED_JOB_STATE

The job state is not supported: <errorMessage>