SMS not sending even if the phone number is verified - 400 Error Code

74 Views Asked by At

I signed up with Twilio Yesterday for educational purposes and just trying to send myself a SMS. But it keep giving me 400 - Bad Request Error.

I am from a high-risk country but Twilio has automatically updated my Geo Permissions. I am using Python and there is no errors in my code.

Python Error:

twilio.base.exceptions.TwilioRestException: HTTP 400 error: Unable to create record: The number +947XXXXXXXX is unverified. Trial accounts cannot send messages to unverified numbers;

This error occurs when i try to send the SMS from python application as well as Twilio Console as a testing message. I do not want to spend on buying a pro account just yet. I tried to add a new Caller ID in Verified Caller IDs, but now it's not sending the OTP as well, for which i tried with all possible ways. Is the 'Extension' the country code? Please provide a solution. I appreciate your help.

0

There are 0 best solutions below