> For the complete documentation index, see [llms.txt](https://planck-ai.gitbook.io/planck-ai-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://planck-ai.gitbook.io/planck-ai-docs/documentation/reference/integration-troubleshooting.md).

# Integration Troubleshooting

Use this page to troubleshoot common issues with Planck AI integrations and API usage.

### Microsoft 365 and SharePoint issues

For Microsoft 365, OneDrive, and SharePoint setup issues, see:

* **Microsoft 365, OneDrive, and SharePoint**

That guide includes fixes for:

* SharePoint sites not appearing
* Microsoft permission errors
* Invalid redirect URIs
* Expired client secrets
* Token refresh issues
* Synced documents not appearing
* Users not seeing cloud-synced documents

### API issues

For API errors, see:

* **Authentication**
* **Error Handling**

Common API issues include:

* Missing or invalid API keys
* Permission errors
* Incorrect workspace, document, or conversation IDs
* Rate limits
* Server errors

### Document access issues

If a user cannot see a document, check:

* The document is linked to the correct workspace
* The document has finished processing
* The user has access to the workspace
* For cloud-synced files, the user has access in the original source system
* For Microsoft 365 files, the user has linked their Microsoft account

### Database access issues

If a user cannot query a database, check:

* The database integration is configured
* The integration is linked to the correct workspace
* The user has access to the workspace
* The required tables, views, or fields are available
* Workspace context contains the correct business definitions

### When to contact support

Contact Planck AI support if:

* A sync repeatedly fails
* A document remains stuck in processing
* A valid API key receives unexpected permission errors
* A database integration is connected but unavailable
* The same request repeatedly returns a server error

When contacting support, include:

* Workspace name
* User email
* Integration type
* Time of the issue
* Error message or screenshot
* API endpoint and timestamp, if applicable


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://planck-ai.gitbook.io/planck-ai-docs/documentation/reference/integration-troubleshooting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
