Skip to content

Troubleshooting an Anaplan Connection

If you encounter issues with your Anaplan connection in Nexadata, this guide will help you resolve the most common ones. Most fixes are a role or workspace access for the Anaplan user the connection signs in as, an endpoint URI for your tenant’s region, or a change to an action in the Anaplan model.

This guide is organized into four parts:

  1. Connecting to Anaplan

  2. Creating a Dataset from an Export Action

  3. Reading Extended Data Sources

  4. Sending Data Back to Anaplan


  • “Unable to authorize with the Anaplan service. Please verify your Username and Password.”

    • Cause: With Basic Authentication, the username or password is wrong, the password has expired, or the user can sign in to Anaplan only through single sign-on.

    • Fix: Sign in to Anaplan directly with the same username and password. If the tenant uses SSO, ask your Anaplan admin to make the user an exception user, or switch the connection to OAuth.

  • Submit is unavailable on a Basic Authentication connection

    • Cause: Submit becomes available only after the credentials are verified.

    • Fix: Click Verify Credentials first, and wait for the green shield.

  • Anaplan rejects the OAuth sign-in redirect

    • Cause: The OAuth client’s Allowed callback URLs do not include the Nexadata callback URL exactly.

    • Fix: In Anaplan, add https://app.nexadata.com/anaplan/oauth/callback to the client’s Allowed callback URLs, then click Connect to Anaplan again.

  • “Unable to authorize with the Anaplan service. Please verify your Client ID and Client Secret.”

    • Cause: The Client ID or Client Secret does not match the OAuth client in Anaplan, or the client is not enabled.

    • Fix: Copy both values again from the OAuth client in Anaplan, check Enable this client, and click Connect to Anaplan again.

  • “Missing authorization code.”

    • Cause: The sign-in tab was closed, or the sign-in was canceled, before Anaplan returned to Nexadata.

    • Fix: Click Connect to Anaplan again and finish signing in.

  • “Unable to verify your Anaplan credentials. Please confirm your Client ID, Client Secret, and endpoint URIs are correct.”

    • Cause: Nexadata signed in but could not reach Anaplan, or the sign-in has expired.

    • Fix: Check the endpoint URIs, then click Connect to Anaplan again and click Verify Credentials.

  • “Your Client ID or Client Secret has changed. Re-authorize with Anaplan before verifying.”

    • Cause: The Client ID or Client Secret on the connection was edited, so the existing sign-in no longer applies.

    • Fix: Click Re-authorize with Anaplan, sign in, and click Submit.

  • An OAuth connection stops working after a few weeks

    • Cause: The OAuth client’s Refresh token lifetime has run out, or the client was disabled.

    • Fix: Open the connection and click Connect to Anaplan to sign in again. To make this less frequent, ask your Anaplan admin to lengthen the refresh token lifetime.


Part 2: Issues with Creating a Dataset from an Export Action

Section titled “Part 2: Issues with Creating a Dataset from an Export Action”
  • “Invalid Credentials. Click here to edit Connection.” or “Error authenticating with Anaplan. Please verify your credentials and access.”

    • Cause: The connection can no longer sign in to Anaplan.

    • Fix: Click the link to open the connection, then verify or re-authorize it.

  • A workspace, model, or export action is missing from the list

    • Cause: The Anaplan user has no access to it, or the model is archived. Archived models are not listed.

    • Fix: Give the user access in Anaplan, or restore the model, then reopen the dataset form.

  • The dataset takes a long time to load, or times out

    • Cause: Nexadata runs the export action in Anaplan every time it reads the dataset, and large exports take a while.

    • Fix: Narrow the export action in Anaplan with a saved view or filter, or check Only download and do not execute the export action to read the file the export last produced.

  • The data is out of date

    • Cause: Only download and do not execute the export action is checked, so Nexadata reads the file from the last time the export ran.

    • Fix: Run the export in Anaplan, or clear the checkbox so Nexadata runs it.

  • Columns or layout are not what you expect

    • Cause: The file comes from the export action’s settings in Anaplan.

    • Fix: Change the export action’s layout or file format in Anaplan, then reopen the dataset and click Submit again.


Part 3: Issues with Reading Extended Data Sources

Section titled “Part 3: Issues with Reading Extended Data Sources”
  • Events, Users, or CloudWorks Jobs fail while other export types work

    • Cause: The Anaplan user lacks the role for that API, or the matching URI is wrong for your tenant’s region.

    • Fix: Give the user the Tenant Auditor role for Events, User Admin for Users, or Integration Admin for CloudWorks Jobs, and check the Audit URI, SCIM URI, or Cloudworks URI on the connection.

  • “Your version of Anaplan supports only 30 days (720 hours) of audit events. Please set the interval in your Dataset configuration to 720 hours or less.”

    • Cause: The Interval (hours) on an Events dataset is longer than your tenant’s audit retention.

    • Fix: Set the interval to 720 or less.

  • Events show IDs instead of names

    • Cause: Anaplan audit events identify workspaces, models, actions, and users by ID.

    • Fix: Create Workspaces, Models, Actions, and Users datasets, and join them to the Events dataset in a Workflow. See Accessing Extended Data Sources in Anaplan.


Part 4: Issues with Sending Data Back to Anaplan

Section titled “Part 4: Issues with Sending Data Back to Anaplan”
  • The run finishes as “Succeeded with warnings”

    • Cause: Anaplan imported the file but rejected some rows. The output is listed under Outputs with warnings with Anaplan’s messages for each import, such as Invalid line item identifier: Margin %.

    • Fix: Correct the column names or values in the Workflow, or add the missing items or line items in Anaplan, and run the Workflow again.

  • “Invalid line item identifier” or an unknown item

    • Cause: A column name or value in the output does not match a line item, list item, or dimension in the model.

    • Fix: Rename the Workflow output’s columns to match the import’s source file, and load new list items before data that uses them, for example with a process that imports lists first.

  • The import ignores or misreads columns

    • Cause: The output’s columns are in a different order or have different names than the file the import action was set up with.

    • Fix: Match the column names and order of the import’s source file. Download the source file from the model in Anaplan to compare.

  • “Import failed, Max retries reached” or “Process failed, Max retries reached”

    • Cause: Nexadata stopped waiting for the import or process to finish. The action may still be running in Anaplan.

    • Fix: Check the import or process history in Anaplan. If it finished there, the data is loaded. For long processes, split the work into smaller processes.

  • “Failed to start process” or “Failed to execute Anaplan Process”

    • Cause: Anaplan could not start the process, often because the user’s model role cannot run one of its actions, or another process holds the model.

    • Fix: Run the process in Anaplan as the same user to see Anaplan’s message, and avoid scheduling large loads on the same model at the same time.

  • “Unable to create file in Anaplan”

    • Cause: A new Import Target File typed on the output could not be created in the model, usually because the user cannot upload files to it.

    • Fix: Give the user access to the model, or create the file in Anaplan and select it from the list.

  • “All Pipelines were executed, but the result was not stored successfully in all output locations”

    • Cause: The Workflow ran, but the Anaplan output failed. The output’s row in the run results shows Errored with the reason.

    • Fix: Read the message in that row, fix the cause, and run the Workflow again.


  • Use a dedicated integration user. Its roles and workspace access then define exactly what Nexadata can read and load.

  • Test against a development model first. Point new outputs at a copy of the model before production.

  • Start with Upload Only. Upload once and check the file in Anaplan before adding an import or process.

  • Space out large loads. Anaplan runs one action at a time per model, so schedule large Workflows on the same model at different times.

  • Keep the chunk size at the default. Leave Chunk Size (Mb) at 10 unless Anaplan support advises otherwise.

If you have tried these steps and still have an issue, collect the error message, the name of the dataset or output, and the approximate time of the run, then email Nexadata Support at support@nexadata.com. We have extensive experience with Anaplan integrations and are happy to help.