ajshastri / pygooglevoice

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

Validation error (u'code': 500) #71

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. installing pygooglevoice (with resolved version from Issue 58)
2. trying to send an SMS to a list of phone numbers

What is the expected output? What do you see instead?
The expected output is a successfully sent message.
Instead, I get the following error:

 File "C:\Program Files\Python27\lib\site-packages\googlevoice\voice.py", line 151, in send_sms
    self.__validate_special_page('sms', {'phoneNumber': phoneNumber, 'text': text})
  File "C:\Program Files\Python27\lib\site-packages\googlevoice\voice.py", line 225, in __validate_special_page
    load_and_validate(self.__do_special_page(page, data))
  File "C:\Program Files\Python27\lib\site-packages\googlevoice\util.py", line 65, in load_and_validate
    validate_response(loads(response.read()))
  File "C:\Program Files\Python27\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': 500}, u'ok': 
False}

What version of the product are you using? On what operating system?
pygooglevoice - version 0.5 on Windows XP

Original issue reported on code.google.com by teamkoiz...@gmail.com on 31 Dec 2012 at 8:10

GoogleCodeExporter commented 9 years ago
I've got the same error message.  Is it simply that I'm trying to run this 
outside the US?

Original comment by hjsme...@gmail.com on 2 Nov 2013 at 2:05