Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Twilio Error : The From phone number +1******** is not a valid, SMS-capable inbound phone number or short code for your account

I am getting this error sometimes even if I received the sms .I have checked sidekiq logs and it shows "error_class"=>"Twilio::REST::RequestError" .I have also checked phone number sms-capablility over twilio account and its status shows it is currently active.

like image 428
Jaswinder Avatar asked Jan 19 '26 03:01

Jaswinder


1 Answers

I was getting the same error in my Rails project. My problem was a mismatch between the Twilio account SID and auth token and my twilio phone number (I think I was using test credentials with a real Twilio phone number). Once I got these set up correctly in my project, the problem resolved.

like image 110
David Avatar answered Jan 20 '26 19:01

David



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!