Http error, temperature sms

can u send me the code using karix

I have send the screenshot

Hi @RJRohit98,

I checked your SID and token it seems fine to me. In the error message, it is saying the From is not Valid. Can you confirm the from number again and send me the screenshot of from number from Twilio dashboard.

i have send the screenshot

Hi @RJRohit98,

You have sent me your verified number. Send me the From number that you got from the Twilio. You can find here https://www.twilio.com/console/sms/getting-started/build

Also, send one message directly from https://www.twilio.com/console/sms/getting-started/build and check if you are able to receive the message.

I have sent the screenshot

while sending the message from “https://www.twilio.com/console/sms/getting-started/build” I got the error like this

Error - 30008

Message Delivery - Unknown error

Hi @RJRohit98,

In your conf file, From number is fine. I think in your code temp_sms.py is importing data from some other file. Because in your Twilio dashboard ending number for FROM is 2 but in your log, it is showing 3.

Can you send the output of your program again? Anyway, you will not be able to send a message from 9 PM to 9 AM Sms status : queued

  1. Also, check if the DND is active on your number http://www.nccptrai.gov.in/nccpregistry/search.misc
  2. Print the FROM number in your code for debugging the issue.

i have send the screenshot of code

I have sent the screenshot of recent output also

just now I have sent the screenshot of my mobile no status “http://www.nccptrai.gov.in/nccpregistry/search.misc

Hi @RJRohit98,

As I can see in your screenshot, you have enabled the DND on your number. Since Twilio provides the promotional number, You will not be able to send the sms to that number. Please add another number that does not have DND.

can i disable and then use the same mob. no. ?

Hi @RJRohit98,

You can send the sms to stop the DND but your operator takes at-least 7 days in implementing those changes.

so how about never registered mobile number ?

I will later unregistered my mobile number

The code is working and SMS is also getting on non-registered mobile no. :relieved::relieved::relieved::relieved::relieved:

So guys for better use non-registered mobile number in your Twilio account.

I think for this site https://repl.it is better than using Ubuntu from VMWare, VirtualBox, or Digital Ocean.

Thank You, Friends, for ur help …

1 Like