Jaswinder
Jaswinder

Reputation: 1525

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.

Upvotes: 3

Views: 2681

Answers (1)

David
David

Reputation: 652

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.

Upvotes: 2

Related Questions