Forums

twilio media_url not working

I'm trying to send a text message of a image from an http link. It works on the latest version of Twilio, but I can't get it to work on the version of Twilio on PA. I've changes client.messages.create to client.sms.messages.create which solved the problem for text messages. It just didn't work for image messages.

Any suggestions?

Where are you based? Could this be an geo-IP blocking issue?

You can upgrade twilio using

pip install --upgrade --user twilio

Or, if you need more isolation, you can use a virtualenv. There's a guide here that explains how to do it to upgrade django, you can adapt the instructions...

thanks for the help. I had made it as far as pip install --user twilio and didn't realize I needed to add the --upgrade

We've upgraded the system default version now, so it should work fine.