> For the complete documentation index, see [llms.txt](https://docs.getpurpledot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getpurpledot.com/integrations/erp-3pl-and-inventory/netsuite/connection-fails.md). Agents can also search and read this documentation through its [MCP server](https://docs.getpurpledot.com/~gitbook/mcp).

# The NetSuite connection is failing

Fix errors connecting NetSuite to Purple Dot.

Use the failed setup step or error message to find the matching fix.

## Symptom

The NetSuite connection fails during setup or authorization.

## Likely causes

The credentials, callback URL, or authorization permissions don't match the requirements of the connection.

## Fix

1. If authorization fails immediately, check that the redirect URI in NetSuite matches the URL shown in the Purple Dot wizard exactly.
2. If you see `Administrator role cannot be used`, on the NetSuite consent screen, select **Choose Another Role** and choose your integration role.
3. If you see `Cannot query purchase orders`, review the [integration role permissions](https://docs.getpurpledot.com/integrations/erp-3pl-and-inventory/netsuite/data-and-limits.md#integration-role-permissions), especially **SuiteAnalytics Workbook**, **Purchase Order** (View), **Items** (View) and **Locations** (View).
4. If you lost your Client ID, edit the integration in NetSuite and use **Reset Credentials** to generate a new one, then update it in Purple Dot.
5. If you need to start over, select **Start over** in the Purple Dot connect wizard to clear your progress.

After correcting the connection, complete [Connect NetSuite](https://docs.getpurpledot.com/integrations/erp-3pl-and-inventory/netsuite/connect.md) and check that NetSuite appears under **Live integrations**.

## Still stuck

[Get more help](https://docs.getpurpledot.com/troubleshooting/get-more-help.md). Include your Account ID and where setup failed.

## Related

* **Do this:** [Connect NetSuite](https://docs.getpurpledot.com/integrations/erp-3pl-and-inventory/netsuite/connect.md)
* **Look up:** [NetSuite data and limits](https://docs.getpurpledot.com/integrations/erp-3pl-and-inventory/netsuite/data-and-limits.md)
* **Fix it:** [My integration is not syncing](https://docs.getpurpledot.com/troubleshooting/orders-and-inventory/integration-is-not-syncing.md)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.getpurpledot.com/integrations/erp-3pl-and-inventory/netsuite/connection-fails.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
