Use this article to troubleshoot common issues when using Sprinklr with Zapier. Find your problem below and follow the steps to fix it.
Connection and authentication
These problems happen when you connect Sprinklr to Zapier or when Zapier refreshes an existing connection.
Symptom
When you click Yes, Continue to Sprinklr on the Connect an Account page, the browser tab shows a page of text instead of the Sprinklr sign-in. The text includes "code":421 and "message":"Misdirected Request".
Causes
- The Environment you entered is not the environment where the API key was created. An API key and token are environment-specific, so a key generated for one environment cannot be used in another.
How to fix it
- Close the tab.
- Open the page source of your Sprinklr account in your browser and search for
sentry-environmentto find your environment. If you sign in at app.sprinklr.com, you use production. - Add the Sprinklr connection again. In Environment, enter the value you found, for example
prod0orprod2, or leave it blank for production. - Confirm the API key belongs to a Developer App in that same environment.
Symptom
When you connect Sprinklr to Zapier, the Connect an Account page shows "is not a valid Sprinklr environment" and asks you to use a value like prod0 or prod2.
Causes
- The Environment field includes characters other than letters and numbers, such as a URL, spaces, or a slash.
How to fix it
- Enter only the environment name, for example
prod0orprod2. - If your Sprinklr account is on production, leave the field blank.
Symptom
A Zap that uses Sprinklr stops, or testing the connection fails, and Zapier shows that your connection is expired. The message reads "" is expired.
Causes
- Another app or Zapier connection generated a token with the same API key. Only one token can exist per API key, so the newer token invalidates the older token and its refresh token. When Zapier tries to refresh the older connection, Sprinklr rejects the request.
How to fix it
- Go to the Apps page and reconnect your Sprinklr account.
- Use a separate API key for each Zapier connection, and do not use it in other tools, so nothing replaces its token. You can generate more keys in the same Developer App in Developer Tools.
Error messages
These problems appear as errors from Sprinklr in Zap history or when you test a step.
Symptom
A Sprinklr step fails in Zap history or when you test it, with a 403 error.
Causes
- Sprinklr returns a 403 error when it knows who you are but you are not entitled to the data. The connected Sprinklr user does not have the required permission, or does not have access to the workspace the step reads. A token can only fetch data from workspaces it has been given access to.
How to fix it
- Ask a Sprinklr administrator to give the connected Sprinklr user the required permissions and access to the workspaces the step reads.
- Run the step again.
Triggers
These problems affect Sprinklr triggers in Zap workflows.
Symptom
A Zap with a Sprinklr trigger runs far more often than you expect, or Zap history shows messages from channels you do not care about.
Causes
- The New Message Created, Message Engagement Updated, and Post Trend Metrics Change triggers send every message or post to Zapier. The triggers have no input fields to narrow them down.
How to fix it
- Add a Filter step directly after the Sprinklr trigger.
- Set the filter to continue only when Channel Type matches the channel you want, or filter on another field in the trigger data.
Still need help?
If this article did not fix the issue:
- Ask in the Zapier Community. Get advice from experienced Zapier users.
- Learn more about getting help and support with Zapier.