Error code 131045 with the message "Incorrect certificate" occurs when there’s a problem with the registration of your business phone number. This error prevents your message from being sent and is categorized as a 500 Internal Server Error.
Here’s a step-by-step guide to understanding and resolving this issue.
What Causes Error 131045?
This error occurs when:
1. The phone number you’re using hasn’t been registered properly with the WhatsApp Business API.
2. The certificate required for phone number registration is incorrect or missing.
How to Fix Error 131045
Register Your Phone Number
You need to register the phone number you plan to use. To do this:
Use the endpoint: PHONE_NUMBER_ID/register. Replace PHONE_NUMBER_ID with the actual ID of your phone number. Ensure your API request includes an access token with the following permission: whatsapp_business_management.
If you’re working as a Solution Partner, confirm that your token has the required permission.
Verify the Certificate
Check the certificate used for registration. Ensure it matches the phone number and is formatted correctly.
This should resolve the Error 131045. For more troubleshooting tips related to WhatsApp Business API check out our other blogs on heltar.com/blogs.