Salesforce troubleshooting
Find the message you're seeing, or the step where you got stuck. Quoted messages are shown exactly as they appear, so you can search this page for the first words.
While creating the app in Salesforce
I don't see "New External Client App"
Your Salesforce user doesn't have the Create, edit, and delete External Client Apps permission. Ask a Salesforce administrator to create the app, following step 2 of the setup guide.
The scopes don't move to "Selected OAuth Scopes"
Click a scope in Available OAuth Scopes to select it, then click the right arrow (▸) between the two lists. The left arrow (◂) takes a scope back out. You only need Manage user data via APIs (api) and Perform requests at any time (refresh_token, offline_access).
I can't find the Consumer Key and Consumer Secret
Open the app in Setup › External Client Apps › External Client App Manager, go to the Settings tab, expand OAuth Settings and click Consumer Key and Secret. Salesforce emails you a verification code before showing them.
On the "Connect Salesforce" page
After you click Connect, the page checks what you pasted with Salesforce. If something is wrong, it tells you at the top of the form. The Consumer Secret field is always empty again at that point: the page never keeps it, on purpose. Fix what the message says, paste the secret again and click Connect.
"Salesforce does not recognize this Consumer Key."
In order of likelihood:
- The app was created a few minutes ago. Salesforce can take a few minutes to activate a new External Client App. Wait two or three minutes and try again.
- The key was copied incompletely, or with a space at either end. Copy it again.
- The app lives in a sandbox and you chose Production, or the other way round.
- Your organization signs in on its own address. Open My organization does not use the standard Salesforce login and paste any URL from your Salesforce.
"Salesforce recognized the Consumer Key, but your External Client App has a different Callback URL."
The Callback URL in the app must be exactly the one on the Connect Salesforce page. Copy it from there, paste it in the app's Settings › OAuth Settings › Callback URL, save, and wait a few minutes for Salesforce to apply the change.
The callback URL is not a page you can open in your browser: opening it shows an error. It only goes into Salesforce.
"Salesforce refused the Consumer Secret for this Consumer Key."
The secret doesn't belong to that key. Copy the Consumer Secret again from the same app and paste it.
"Salesforce does not know this Consumer Key in the organization you signed in to."
You signed in to a different Salesforce organization from the one where the app was created. This often happens when your browser is already signed in to another org. Sign out of Salesforce (or use a private window), connect again, and sign in to the organization that has the app. Check that Production or Sandbox matches it too.
The page says the link no longer works
A Connect Salesforce link stops working once Salesforce has been connected with it, after a day, or when a newer one replaces it. Go back to Developers › Connected apps in Wassenger and start again.
After clicking "Allow" in Salesforce
| What you see | Why | What to do |
|---|---|---|
| You chose Deny in Salesforce | Deny was clicked on the Salesforce screen. | Start again from Connected apps and click Allow. |
| Your Salesforce admin needs to give you access | The app only lets in users your admin has approved. | Ask your Salesforce admin to give your user access to the app (in External Client App Manager, on the app's Policies tab), or connect with a user who has it. |
| Your Salesforce is blocking the app | OAuth is turned off for this app in your organization. | In Setup › External Client Apps › OAuth Usage, your admin can enable OAuth for the app again. |
| Salesforce didn't finish connecting | The sign-in was interrupted. | Try again. If it happens again, contact support. |
"Salesforce is not connected"
This page appears when Salesforce accepted you but the final checks failed. It tells you why:
- "This Salesforce organization is already connected to another install." A Salesforce organization can only be connected once at a time. Use that connection, or revoke it before connecting the organization here.
- "This install is connected to a different Salesforce organization than the one you signed in to." Reconnect only works with the same organization. Sign in to that one, or revoke the connection and connect the new organization from scratch. A refreshed sandbox counts as a different organization.
- "This install was revoked while you were connecting it, so nothing was saved." Connect Salesforce again.
- "We could not finish checking the connection with Salesforce." Nothing is wrong with your setup. Try again in a few minutes.
- "The Salesforce user who connected the account lacks a permission this integration needs." The user needs to read Contacts and Leads and to create and edit Tasks. Ask your Salesforce admin to grant them, or connect with an administrator.
- "Your Salesforce edition does not include API access, which this integration needs." Your Salesforce edition can't be connected. Some editions can buy API access as an add-on.
A conversation isn't showing up in Salesforce
Go through this list:
- The number is in Salesforce. The customer's WhatsApp number has to be in the Phone or Mobile field of a Contact or Lead, preferably in international format (
+34 600 111 222). - Only one record has it. If two Contacts share the number, or two Leads and no Contact, nothing is logged until only one has it.
- The record existed when the message arrived. Messages from before the record was created aren't logged afterwards. After you create or fix a record, logging starts about 15 minutes later: a number that found nothing is checked again after 15 minutes, and Salesforce needs a little time to find a new record.
- The message is one that gets logged. Messages sent through the API, chatbots, automations and campaigns are not logged, and neither are replies typed in the WhatsApp app on a phone. See What gets logged.
- The WhatsApp number is connected. Open the Salesforce connection in Developers › Connected apps and check the Numbers section. Its details also count the messages (
unmatched) and calls (callsUnmatched) that found no record. - For calls: they are logged on WhatsApp Business API numbers without coexistence. Calls from numbers that aren't in Salesforce are only logged if Calls from unknown numbers is set to Create a contact.
- Look at the right day. Tasks use UTC days, so a late-evening message can be on the next day's Task.
Messages on the connection page
The Salesforce row in Connected apps and its connection page show a status. When something needs attention, it says what happened:
| Message | What it means | What to do |
|---|---|---|
| Its sign-in was revoked in your CRM. Reconnect to let it sync again. | Someone revoked the access in Salesforce. | Click Reconnect and sign in again. |
| This Salesforce connection expired after going unused. | Salesforce expires an access that isn't used for 30 days. | Click Reconnect. |
| Salesforce does not recognize this app in your organization. | The Consumer Key belongs to another organization. | Reconnect with the key from the app in this organization. |
| Salesforce rejected the Consumer Key or the Consumer Secret of this app. | The app's credentials changed or were deleted. | Copy both again from the app and reconnect. |
| The Salesforce user who connected the account lacks a permission this integration needs. | Salesforce refused to read or write some records. | Ask your Salesforce admin to give that user access to Contacts, Leads and Tasks, or reconnect with an administrator. |
| Salesforce refused to save an activity because of a rule in your organization. | A validation rule or automation on Tasks rejected the activity. | Your Salesforce admin can check the rules on the Task object. |
| Your CRM is refusing calls for now, because of its own limits. It starts again on its own. | Your organization used up its daily Salesforce API allowance. | Nothing: syncing resumes by itself when the allowance resets. You don't need to revoke or reconnect. |
| Your Salesforce organization is close to its daily API limit. | A warning before the limit is reached. | Nothing for now. If it happens often, other tools may be using most of your allowance. |
| Your Salesforce edition does not include API access | The edition can't use the API. | Your edition can't be connected unless you add API access. |
| A message that says our team has to look into it | The problem is on our side, not in your Salesforce. | Contact support. |
The permission and rule messages stay visible for up to a day after the last time they happened, even if later activities are saved without problems.
After revoking, the app still has a user in Salesforce
When you revoke the connection, Wassenger asks Salesforce to cancel its access, and retries for a day if Salesforce doesn't answer. To check, or to cancel it yourself, follow How to disconnect Salesforce.
