---
title: Troubleshoot the Anaplan connector
description: Troubleshoot common errors with the managed Anaplan connector in Databricks Lakeflow Connect.
canonical_url: https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/anaplan-troubleshoot
---

# Troubleshoot the Anaplan connector

> [!NOTE]
> **Beta**
>
> This feature is in [Beta](https://docs.databricks.com/gcp/en/release-notes/release-types.md). To use it, a workspace admin must turn on **Lakeflow Connect for Anaplan** from the **Previews** page. See [Manage Databricks previews](https://docs.databricks.com/gcp/en/admin/workspace-settings/manage-previews.md).

This page describes common errors you might encounter with the managed Anaplan connector and how to resolve them.

For general troubleshooting guidance that applies to all managed ingestion pipelines, see [Troubleshoot managed ingestion pipelines](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/troubleshoot.md).

## <a id="access-token-rejected" />Anaplan rejects the access token

**Error message:**

```output
Anaplan access token rejected. Refreshing credentials and retrying.
```

**Cause:** The CA certificate or private key stored in the Unity Catalog connection is not valid, no longer matches the certificate registered with the Anaplan account, or has been rotated.

**Solution:**

Verify that the **Certificate (PEM)** and **Private Key (PEM)** in the Unity Catalog connection match the certificate registered with your Anaplan account. The connector obtains and refreshes the short-lived access token automatically, so a persistent failure points to the stored certificate or key. If either was rotated, update the connection. See [Configure authentication to Anaplan](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/anaplan-source-setup.md) and [Create a Anaplan connection](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/anaplan-connection.md).

## <a id="permissions-error" />The pipeline fails with a permissions error

**Cause:** The Anaplan account behind the CA certificate lacks the required roles. The audit events API requires the **Tenant Auditor** role with **Audit** enabled for the tenant, and the users API requires administrative access to the tenant's users.

**Solution:**

Confirm that **Audit** is enabled for your tenant and that the account behind the certificate has the **Tenant Auditor** role and administrative access to read users. A Tenant Administrator can enable Audit and assign roles. Then update the account or certificate and update the Unity Catalog connection. See [Audit](https://help.anaplan.com/audit-034cf52f-8ccf-49e0-a545-96861b12a645) and [Configure Anaplan](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/anaplan-source-setup.md#configure-source).

## <a id="rate-limited" />Requests are rate limited

**Cause:** Anaplan enforces a tenant-wide Integration API rate limit of 600 requests per minute (about 10 requests per second) across all workspaces, and returns `429 Too Many Requests` when it is exceeded. See [Model busy behavior and retry strategy](https://help.anaplan.com/model-busy-behavior-and-retry-strategy-27b77b79-7db1-4973-953a-fc585969fa43).

**Solution:**

The connector honors the `Retry-After` header and retries automatically with exponential backoff, so rate limiting is usually transient. Anaplan recommends a 10-second wait before retrying. If it persists, avoid running multiple pipelines against the same Anaplan account at the same time, because the limit is shared across the whole tenant.
