← Blog

·

WhatsApp API Error 131045: Phone Number Registration and Certificate Issues

Updated on November 10, 2026

WhatsApp Business API error 131045 means a message failed to send because of a phone number registration error. Meta’s recommended fix is to register the phone number before trying again. In practice, it happens when the number was never registered on Cloud API, when registration has to be redone after a new display name is approved, or when the certificate tied to the display name doesn’t allow registration.

This guide shows how to figure out which case you’re in by checking the phone number fields, how to re-register, and what your code should do until it’s fixed.

What Meta says about 131045

In the Cloud API error codes table, 131045 sits in the “other errors” group:

FieldMeta’s text
DescriptionMessage failed to send due to a phone number registration error.
SolutionRegister the phone number before trying again.

The table doesn’t mention “certificate” in the 131045 row. The term shows up elsewhere in the docs: in the values of the phone number’s name_status field, which is tied to the display name. That’s why forums often call this a “certificate error.” Let’s look at both ends.

A close relative is 133010 (phone number not registered on the platform), which has the same fix and is covered alongside the registration attempt limit in errors 133010 and 133016.

Registration, display name and certificate: how they connect

On Cloud API, a number can only send and receive messages after three steps:

  1. Phone number verification, with a code sent by SMS or voice call.
  2. A display name approved by Meta.
  3. Registration on Cloud API, using the /register endpoint and the two-step verification PIN.

The business phone numbers page says a number must have a connected status to send and receive messages via the API. And among the possible name_status values, two mention a certificate:

name_statusWhat Meta says
APPROVEDDisplay name approved
AVAILABLE_WITHOUT_REVIEWName available without review
PENDING_REVIEWName under review
DECLINEDName rejected
EXPIREDThe phone number’s certificate has expired and cannot be used to register the number for API use
NONEThe phone number has no certificate and cannot be used to register the number for API use

In other words, the certificate is what links an approved display name to registration. If it has expired or doesn’t exist, registration can’t be completed, and sends may fail with 131045.

Want to try it while you read? Create a Vectalk account and send your first message through the official API. Create free account →

When registration has to be redone

The registration docs and the display names docs list when you need to register:

  • When you first connect the number to the API. Two-step verification is enforced at this step.
  • After changing the display name. Meta asks you to wait for the new name to be approved before re-registering: re-registering before approval has no effect. The phone_number_name_update webhook tells you the decision.
  • The 14-day window. Once a display name change is approved, you have 14 days to re-register the number. If that window passes, you must submit the name for review again.
  • Migrating from the On-Premises API. There are extra steps before registering on Cloud API.

The most common production 131045 is the second scenario: someone changed the display name in WhatsApp Manager, Meta approved it, and nobody re-registered the number. The name rules are in our guide to the WhatsApp API display name.

Diagnosis: check the phone number fields

Start with a GET on the phone number node:

curl "https://graph.facebook.com/v27.0/$PHONE_NUMBER_ID?fields=display_phone_number,verified_name,status,name_status,code_verification_status,quality_rating" \
  -H "Authorization: Bearer $TOKEN"

Read the result like this:

What you seeLikely causeWhat to do
code_verification_status other than VERIFIEDNumber not verifiedRequest and confirm the code (below), then register
name_status = PENDING_REVIEWNew name under reviewWait for approval; don’t register before
name_status = APPROVED after a name change, status not CONNECTEDRegistration not redoneRe-register within the 14 days
name_status = DECLINEDName rejectedEdit the name or appeal, then register
name_status = EXPIRED or NONECertificate expired or missingResubmit the name for review and register after approval
Everything APPROVED, VERIFIED and CONNECTEDRegistration looks fineRe-register once and, if it persists, open a ticket

If you don’t know your PHONE_NUMBER_ID, see how to find your WhatsApp Phone Number ID.

How to re-register the number

1. Verify the number if needed

If code_verification_status isn’t verified, request a code:

curl -X POST "https://graph.facebook.com/v27.0/$PHONE_NUMBER_ID/request_code" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "code_method": "SMS", "language": "en_US" }'

Then confirm it with the code you received:

curl -X POST "https://graph.facebook.com/v27.0/$PHONE_NUMBER_ID/verify_code" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "code": "123456" }'

Per the docs, code_method accepts SMS or VOICE, and requesting a code for a number that’s already verified returns error 136024. So check the field before you request.

2. Register with the PIN

curl -X POST "https://graph.facebook.com/v27.0/$PHONE_NUMBER_ID/register" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "messaging_product": "whatsapp", "pin": "123456" }'

The pin is the 6-digit two-step verification PIN. If you don’t remember it, you can change it in WhatsApp Manager under Two-step verification, as described in the two-step verification docs. Meta says the PIN is being gradually phased out for eligible numbers; on those, the tab disappears from WhatsApp Manager. The full walkthrough, with common errors, is in how to register a phone number on WhatsApp Cloud API.

3. Don’t retry in a loop

The registration endpoint accepts up to 10 requests per business number in a 72-hour moving window. Go over that and the API returns 133016 and blocks registration for 72 hours. A script that re-registers on every failed send can lock the number for three days.

4. Confirm and test

Run the field GET again and confirm status is CONNECTED. Then send a test message to a number different from the business number.

What your code should do in the meantime

131045 isn’t a recipient error: it affects every send from that number. Handle it like this:

REGISTRATION_ERRORS = {131045, 133010}

def handle_error(phone_number_id, error):
    code = error.get("code")
    if code in REGISTRATION_ERRORS:
        pause_queue(phone_number_id)          # don't burn messages
        alert_admin(phone_number_id, code, error.get("error_data", {}).get("details"))
        return "paused"
    return "continue"
  • Pause the number’s queue, not just the single message.
  • Alert whoever manages the account with the code and the details field.
  • Don’t auto-register on every error: register once, under supervision, because of the 10-attempt limit.
  • To catch other account problems at the same time, the account_update webhook and our guide to template and account webhooks help.

How to do this with Vectalk

Vectalk is a proxy for Meta’s official Cloud API, and its webhooks are the ones in Meta’s documentation. So 131045 arrives with the same code and the diagnosis above works the same way. In the dashboard, the instances area shows the number’s profile and IDs for your diagnostic calls, and the logs show when sends started failing. Vectalk also supports coexistence, and Meta still requires registration for the number to work on the API.

If you need help redoing the registration, reach the team through the Help Center. The technical reference is in the documentation, and the big picture is in our official WhatsApp API guide. If you don’t have an account yet, sign up for Vectalk.

Frequently asked questions

What does WhatsApp error 131045 mean?

That a message failed because of a business phone number registration error. Meta asks you to register the number before trying again.

Is 131045 about a certificate?

Indirectly. The error row only mentions registration, but the phone number docs show that if the certificate tied to the display name has expired (EXPIRED) or doesn’t exist (NONE), the number can’t be registered for API use.

I changed my display name and the error started. What now?

Wait for the new name to be approved, then re-register the number. Meta gives you 14 days after approval; after that, you have to resubmit the name for review.

Can I keep registering the number until it works?

No. You get at most 10 registration requests per number in 72 hours. After that you get error 133016 and registration is blocked for 72 hours.

What’s the difference between 131045 and 133010?

Both have the same fix (register the number). 131045 describes a send that failed due to a registration error; 133010 says the number isn’t registered on the platform. See errors 133010 and 133016.


Official sources checked on November 10, 2026: Cloud API error codes, Phone number registration, Business phone numbers, Display names, Two-step verification, Vectalk documentation.

Try the official WhatsApp API today

Create your account, generate a token and send your first message with the quick-start guide. Same payloads and webhooks as Meta's Cloud API.