# Troubleshooting WhatsApp API Error 131021: Recipient Cannot Be Sender
Author: Prashant Jangid
Author URL: https://www.heltar.com/blogs/author/prashant-jangid
Published: 2025-01-02
Category: Troubleshoot
Category URL: https://www.heltar.com/blogs/category/troubleshoot
Tags: WhatsApp API Error
Tag URLs: WhatsApp API Error (https://www.heltar.com/blogs/tag/whatsapp-api-error)
URL: https://www.heltar.com/blogs/troubleshooting-whatsapp-api-error-131021-recipient-cannot-be-sender-cm5fcb1n6000ekg7787swm6e4

When using the WhatsApp Business API, error code **131021** with the message **"Recipient cannot be sender"** occurs when the sender and recipient phone numbers are the same. This is a 400 Bad Request error, and it happens because the API does not allow sending messages to the sender’s own phone number.

## What Causes Error 131021?

This error occurs if:

1. The recipient phone number matches the sender's number.

2. An invalid recipient number is accidentally set to the sender’s number.


The WhatsApp API does not permit sending messages to the same number registered as the sender.

## **Things to Keep in Mind**

- If testing, use a separate phone number or a dedicated testing number instead of your sender number.

- Validate phone numbers in your application to prevent accidental use of the sender’s number as the recipient.


For more troubleshooting tips related to WhatsApp Business API check out [heltar.com/blogs](https://heltar.com/blogs).


---
This blog is powered by Superblog. Visit https://superblog.ai to know more.
---

