# Salesforce limits and errors

> Plans, API key rules, permissions, what the Salesforce chat window can show, and what to check when it shows an error or stays empty.

## Plans

| Plan | Salesforce chat |
|---|---|
| **Trial** (14 days from the first connected number) | Included |
| **Pro** or **Agency** | Included |
| **Growth** | Not included |
| **Work** | Not included |
| **Free**, after the trial ends | Not included |
| **Bulk Message** | Not included |

An owner chooses a plan in [**Settings → Billing**](https://console.whatsable.app/settings/billing). The **Integrations → Salesforce** page in Whatsable shows a lock when the plan does not include it.

## Rules at a glance

| Rule | Detail |
|---|---|
| Objects | Lead, Contact, Opportunity |
| Phone | One phone per record: the first one found in the order on [Use the chat](/integration/salesforce/chat#which-conversation-opens) |
| API key | **Send messages** and **Read messages**. One key for the whole org |
| Who creates the key | An owner or an Admin of the Whatsable organization |
| Who sees the chat | Users with the **Whatsable User** permission set and read access to the phone fields |
| Numbers | Only WhatsApp numbers the key may use |
| Free-form replies | Only within 24 hours of the customer's last message. Otherwise an approved template |
| Window size | Height 320 to 1200 pixels, width 240 to 1200 pixels. Default 600 tall, as wide as the column |
| Link | Five minutes to load. The open chat lasts twelve hours after the last action |
| Writes to Salesforce | None. The chat does not create or change Salesforce records |

## What the window shows when something is wrong

Read the message in the window, then use this table. Salesforce shows the first group, because they come from Salesforce before the chat opens. Whatsable shows the second group inside the chat.

| Message | What it means | What to do |
|---|---|---|
| **This record has no phone number.** | The phone fields the chat reads are empty. | Fill **Mobile Phone** or **Phone**. On an Opportunity, add a contact role with a phone, or fill the account phone. |
| A message that starts with **http** and a number, such as **http 401** or **http 403** | Whatsable answered but refused the call. The number is the HTTP status. A **401** usually means the key was revoked, rolled, or pasted wrongly. A **403** usually means the key lacks **Send messages** or **Read messages**, or the plan does not include it. | Check the key on the **API keys** page, then paste a good key again. See [Change or stop the key later](/integration/salesforce/install#change-or-stop-the-key-later). |
| A Salesforce message that names the external credential, the principal, or access | The person does not have the **Whatsable User** permission set. | Assign it. See [Give people access](/integration/salesforce/install#give-people-access). |
| A Salesforce message about a missing field such as `whatsable__Whatsable.apiKey` | An old package version is installed. | Install the newest version from [**Integrations → Salesforce**](https://console.whatsable.app/integrations/salesforce). |
| **This chat link has expired. Reopen the record.** | The link lasts five minutes and the page loaded after that, or the chat sat idle for twelve hours. | Reopen or refresh the record. |
| **The message was not sent. Try again.** | Whatsable refused the send. Often the 24-hour window closed, or the number is not allowed. | Send an approved template instead. |
| **Free-form replies are closed. Send an approved template.** | The 24-hour window is closed, or the phone has no conversation. | Select **Template**. |
| **No messages with this number yet.** | No conversation exists with this phone on this number. | Send a template to start one, or switch **WhatsApp number**. |
| **The microphone is unavailable in this window.** | The browser blocked the microphone in the Salesforce page. | Allow the microphone for Salesforce in the browser settings. |
| **No approved templates.** | Meta has not approved any template. | Create and submit one in [Message templates](/features/message-templates). |

## Troubleshooting

<details>
<summary>The chat component is not in the component list</summary>

The component appears only in Lightning App Builder for a Lead, Contact, or Opportunity record page. Check that the package is installed, and that you are editing a record page of one of those objects, not the Home page.

</details>

<details>
<summary>The chat component shows nothing, and no message</summary>

The page was saved without being activated, or the person's profile sees a different page. Activate the page and assign it to the right app, record type, and profile.

</details>

<details>
<summary>The window is blank or refuses to load</summary>

Salesforce shows only trusted sites inside a page. The package installs the trusted site for `console.whatsable.app`. Check that it is active in **Setup → Trusted URLs**, and that **frame-src** is on. A company firewall or a browser extension that blocks the Whatsable domain also blanks the window.

</details>

<details>
<summary>The chat shows the wrong conversation, or none</summary>

Check the phone on the record. A different mobile phone is used before the phone field. Check that the phone is in full international form, with the country code. Check the **WhatsApp number** selector: a conversation on another number shows only when you select that number.

</details>

<details>
<summary>I changed the numbers on the key and nothing changed</summary>

The list is read when the record opens. Reload the record.

</details>

<details>
<summary>I cannot create an API key</summary>

Only an owner or an Admin can open **API keys**. Ask one to create the key and share it with you. The page also needs a connected WhatsApp number and a plan that includes integrations.

</details>

<details>
<summary>Salesforce shows the key in plain text, or I forgot it</summary>

Salesforce never shows the saved value. To get a key again, reveal it on the **API keys** page in Whatsable, and paste it again. If the key cannot be revealed, roll it and paste the new one.

</details>

> [!NOTE]
>
> Still stuck? Open a chat from the bubble in the Whatsable console, or [book a free setup call](https://tidycal.com/axelmeta/whatsapp-notifications-by-whatsable).