timmerk / pygooglevoice

Automatically exported from code.google.com/p/pygooglevoice
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Doesn't work. #48

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I get an error when trying to call. Seems related to some existing issues. Logs 
in fine but gives an error on call.  I think it has to do with a forwarding 
number bug?

Here is the error from py:
"Traceback (most recent call last):
  File "C:\Users\User\Downloads\pygooglevoice-0.5-extras\examples\call.py", line 10, in <module>
    voice.call(outgoingNumber, forwardingNumber)
  File "C:\Python26\lib\site-packages\googlevoice\voice.py", line 106, in call
    'remember': '1'
  File "C:\Python26\lib\site-packages\googlevoice\voice.py", line 210, in __validate_special_page
    load_and_validate(self.__do_special_page(page, data))
  File "C:\Python26\lib\site-packages\googlevoice\util.py", line 65, in load_and_validate
    validate_response(loads(response.read()))
  File "C:\Python26\lib\site-packages\googlevoice\util.py", line 59, in validate_response
    raise ValidationError('There was a problem with GV: %s' % response)
ValidationError: There was a problem with GV: {u'data': {u'code': 20}, u'ok': 
False}"

Thanks for any help!

Original issue reported on code.google.com by sys2...@gmail.com on 14 Nov 2010 at 8:18

GoogleCodeExporter commented 9 years ago
Hi. I got the same problem, and finally figured out that you must include USA 
country code (1) when entering callback number.

Things are okay now.

Original comment by nttranba...@gmail.com on 7 Jun 2011 at 7:41