Unexpected Null or Undefined Error When Adding Phone Number in WhatsApp API Setup
When adding new phone number to application for testing, this error shows up
Tony-Marketing-API.cn is a vibrant community dedicated to Facebook, Meta,Google Ads api, app development, Instagram, and related technologies. It offers valuable bug solutions, troubleshooting cases, and problem-solving strategies shared by users. Stay updated with real-world solutions, development tips, and the latest trends in digital marketing and app development.
When adding new phone number to application for testing, this error shows up
I had the same issue. It seems Meta has a bug with displaying some error messages. Inspect the network and see the request made when you submit your phone number. Check the data you're receiving; there you may find the actual error. In my case, the error was something like "You have too many WhatsApp Business accounts.".
This is what work for me
Log in to your Facebook Business account. Navigate to the Business Settings. Select WhatsApp Accounts from the side menu. Click on your WhatsApp account. Go to Settings. Add your phone number in the business Account.