Whenever I try to send a SMS using the twilio library, I get the following error:
Traceback (most recent call last):
File "/home/rodrigoaraujo/sms_test.py", line 9, in <module>g
body="test_msg")g
File "/usr/local/lib/python2.7/site-packages/twilio/rest/resources/sms_messages.py", line 95, in createg
return self.create_instance(kwargs)g
File "/usr/local/lib/python2.7/site-packages/twilio/rest/resources/base.py", line 225, in create_instanceg
data=transform_params(body))g
File "/usr/local/lib/python2.7/site-packages/twilio/rest/resources/base.py", line 121, in requestg
resp = make_twilio_request(method, uri, auth=self.auth, **kwargs)g
File "/usr/local/lib/python2.7/site-packages/twilio/rest/resources/base.py", line 80, in make_twilio_requestg
resp = make_request(method, uri, **kwargs)g
File "/usr/local/lib/python2.7/site-packages/twilio/rest/resources/base.py", line 58, in make_requestg
resp, content = http.request(url, method, headers=headers, body=data)g
File "/usr/local/lib/python2.7/site-packages/httplib2/__init__.py", line 1597, in requestg
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)g
File "/usr/local/lib/python2.7/site-packages/httplib2/__init__.py", line 1345, in _requestg
(response, content) = self._conn_request(conn, request_uri, method, body, headers)g
File "/usr/local/lib/python2.7/site-packages/httplib2/__init__.py", line 1281, in _conn_requestg
conn.connect()g
File "/usr/local/lib/python2.7/site-packages/httplib2/__init__.py", line 1010, in connectg
sock.connect((self.host, self.port))g
File "/usr/local/lib/python2.7/site-packages/httplib2/socks.py", line 424, in connectg
self.__negotiatehttp(destpair[0], destpair[1])g
File "/usr/local/lib/python2.7/site-packages/httplib2/socks.py", line 390, in __negotiatehttpg
raise HTTPError((statuscode, statusline[2]))g
httplib2.socks.HTTPError: (403, 'Forbidden')
It seems to be available for free accounts as mine 1.