question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot validate response

See original GitHub issue

I can only call from my Google Voice. I cannot send text messages since I have not selected any phone number to use.

My code:

from googlevoice import Voice
from googlevoice.util import input

voice = Voice()
voice.login()

outgoingNumber = input('Number to call: ')
forwardingNumber = input('Number to call from [optional]: ') or None

voice.call(outgoingNumber, forwardingNumber)

if input('Calling now... cancel?[y/N] ').lower() == 'y':
    voice.cancel(outgoingNumber, forwardingNumber)

My error:

Traceback (most recent call last):
  File "callMeMaybe.py", line 10, in <module>
    voice.call(outgoingNumber, forwardingNumber)
  File "C:\Python27\lib\site-packages\googlevoice\voice.py", line 155, in call
    'phoneType': phoneType
  File "C:\Python27\lib\site-packages\googlevoice\voice.py", line 287, in __validate_special_page
    load_and_validate(self.__do_special_page(page, data))
  File "C:\Python27\lib\site-packages\googlevoice\util.py", line 65, in load_and_validate
    validate_response(loads(response.read()))
  File "C:\Python27\lib\site-packages\googlevoice\util.py", line 59, in validate_response
    raise ValidationError('There was a problem with GV: %s' % response)
googlevoice.util.ValidationError: There was a problem with GV: {'data': {'code': 1}, 'ok': False}

Thank you.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
chris001commented, Jul 13, 2017

@HackerQuaker I’m relatively certain you can’t use GV for calls OR texts unless you are able to successfully verify and obtain your GV phone number. So your only choice would be to first completely register thru a US VPN.

0reactions
69sparrow69commented, Jul 13, 2017

Thanks for your prompt replies dude. @chris001

Read more comments on GitHub >

github_iconTop Results From Across the Web

SAML Error - Could not validate SAML response - ServiceNow
when we click "Logout" button, we are getting the error message as "could not validate SAML Response". Also it says that logout.
Read more >
Unable to login using Idp Unable to validate SAML response
Solved: When trying to sign in we are receiving the error 'Unable to login using Idp Unable to validate SAML response'.
Read more >
Could not validate SAML assertion. - Dropbox Help Center
How to resolve the following error message: “Could not validate SAML assertion.” · Sign in to dropbox.com. · Click on Admin console. ·...
Read more >
"Unable to validate response against any IDP Status code ...
"Unable to validate response against any IDP Status code response is 92000" error when logging to vRA using domain accounts (2148956).
Read more >
Response validation fails on response errors #431 - GitHub
What's the proper way to send response errors while using validation? When I send a response error, such as an Error.unauthorized, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found