---
title: UC_CONNECTION_EMA_EXCHANGE_FAILED error condition
description: Documentation for the UC\_CONNECTION\_EMA\_EXCHANGE\_FAILED error condition on Databricks
canonical_url: https://docs.databricks.com/aws/en/error-messages/uc-connection-ema-exchange-failed-error-class
---

# UC\_CONNECTION\_EMA\_EXCHANGE\_FAILED error condition

[SQLSTATE: 58000](https://docs.databricks.com/aws/en/error-messages/sqlstates.md#class-58-system-error)

Enterprise-managed authorization failed.

## ACCESS\_DENIED

The `<provider>` denied access to this service through EMA. Ask your administrator to check application assignments and access policies.

## CONFIGURATION\_ERROR

The `<provider>` rejected the EMA configuration. Ask your administrator to check app credentials, allowed grants, scopes, and the service integration.

## PROVIDER\_ERROR

EMA could not complete the `<provider>` token exchange. Retry, or ask your administrator to check the identity provider and service configuration.

## REAUTHENTICATION\_REQUIRED

Your identity provider session was rejected. Log in to the identity provider again, then retry. If this keeps happening, ask your identity provider administrator to check that the Refresh Token grant is enabled and allowed for your app.
