Error: We Could Not Connect to Iterable Due to the Invalid API Key
Issue
Syncs fail with the following errors:
We could not connect to Iterable due to the invalid API key. Please update the credentials.Unable to Validate. The project type of the API key provided currently is {<new_project_type>} and the project type of the previous API key is {<original_project_type>}. As the schema differs between the two project types, we cannot support the new API key for this connection. You must create a new connection to use a new API key.
Environment
Connector: Iterable
Resolution
To resolve this issue, replace the API key with one from the same Iterable project type as the original API key.
- From the error, make a note of the project type associated with the previous API key.
- In Iterable, go to Settings > Project Settings and find a project with the project type identified in step 1.
- Create or locate an API key for the matching Iterable project.
- In Fivetran, go to your Iterable connection page.
- Select the Settings tab.
- Click Edit connection.
- In the API Key field, enter the API key from the matching Iterable project.
- Click Save & Test.
To use an API key from a different project type, you must create a new Iterable connection. For more information, see our Iterable Setup Guide.
Cause
This issue occurs when you update an existing Iterable connection with an API key from a different project type than the original API key.
During the initial sync, Fivetran stores the project type associated with the original API key. Iterable schemas differ by project type, so you can’t use an API key from a different project type for the same connection.