---
title: Troubleshoot the Notion connector
description: Troubleshoot common errors with the managed Notion connector in Databricks Lakeflow Connect, including authentication, missing content, and rate-limiting errors.
canonical_url: https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/notion-troubleshoot
---

# Troubleshoot the Notion connector

> [!NOTE]
> **Beta**
>
> This feature is in [Beta](https://docs.databricks.com/gcp/en/release-notes/release-types.md). Workspace admins can control access to this feature from the **Previews** page by opting into the **Notion connector** preview. 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 Notion 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="invalid-client" />Connection creation fails with a 401 Unauthorized or invalid\_client error

**Cause:** The Client ID or Client Secret does not match your Notion public integration, or the integration's redirect URI does not match your Databricks workspace callback URL.

**Solution:**

Verify that the Client ID and Client Secret match your Notion public integration, and that the integration's redirect URI exactly matches your Databricks workspace callback URL (`https://<your-workspace-domain>/login/oauth/http.html`). See [Configure authentication to Notion](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/notion-source-setup.md).

## <a id="missing-content" />A page or database is missing from the ingested data

**Cause:** The page or data source was not shared with the integration in the Notion page picker during connection setup. The connector can only access content you explicitly share.

**Solution:**

Confirm that the page or data source was shared with the integration in the Notion page picker. To share additional content, edit the shared selection in Notion, then re-run the pipeline. See [Create a Notion connection](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/notion-connection.md).

## <a id="rate-limited" />Pipeline is rate limited

**Cause:** The pipeline exceeded the Notion API rate limit. Notion returns HTTP 429 and reports the wait interval in the `Retry-After` response header.

**Solution:**

The connector automatically waits and retries when Notion rate limits a request. If rate limiting persists, reduce how frequently the pipeline runs. See [Ingest data from Notion](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/notion-pipeline.md).

## <a id="authentication" />Pipeline fails to authenticate

**Cause:** The connection credentials are no longer valid, or the OAuth client secret was rotated in Notion.

**Solution:**

The connector refreshes the access token automatically. If authentication still fails, verify the Client ID and Client Secret on the connection. To update rotated credentials, see [Create a Notion connection](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/notion-connection.md).
