---
title: UC_CONNECTION_CIMD_DISCOVERY_FAILED error condition
description: Documentation for the UC\_CONNECTION\_CIMD\_DISCOVERY\_FAILED error condition on Databricks
canonical_url: https://docs.databricks.com/gcp/en/error-messages/uc-connection-cimd-discovery-failed-error-class
---

# UC\_CONNECTION\_CIMD\_DISCOVERY\_FAILED error condition

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

Client ID Metadata Document (CIMD) discovery failed for `<serverUrl>`.

## AUTHORIZATION\_CODE\_GRANT\_NOT\_SUPPORTED

Authorization server `<authorizationServer>` does not support the authorization\_code grant.

## CIMD\_NOT\_SUPPORTED

Authorization server `<authorizationServer>` does not advertise Client ID Metadata Document support.

## CODE\_RESPONSE\_TYPE\_NOT\_SUPPORTED

Authorization server `<authorizationServer>` does not support the code response type.

## DISCOVERY\_ERROR

The OAuth metadata of the server or its authorization server could not be fetched or read: `<details>`

## INVALID\_SERVER\_URL

The server URL must be an absolute `HTTPS` URL with a host, a valid port, and no user information or fragment.

## MISSING\_RESOURCE

The server's protected resource metadata is missing or does not name a valid MCP resource.

## PUBLIC\_CLIENT\_NOT\_SUPPORTED

Authorization server `<authorizationServer>` does not support public OAuth clients.

## S256\_NOT\_SUPPORTED

Authorization server `<authorizationServer>` does not support S256 PKCE.
