-
Notifications
You must be signed in to change notification settings - Fork 11
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with status = StatusCode.INVALID_ARGUMENT #47
Comments
Hi @hafeezibbad, Could you try using the REST API instructions as well to see if you can reproduce the error? The python client library unfortunately makes it hard to access error details right now (see googleapis/python-api-core#99). If you send a request directly to the REST API it may have additional details about which field is invalid. |
Hi, I can not reproduce the same error with API key. Everything works as expected with RestAPI client but the problem only appears when I am using the library. |
I have noticed one more thing that if |
I don't understand - were you not following the pattern |
Just had the same, your project_id might just be wrong for this call. Unfortunately the error message is so misleading that you have to try it in the REST API to get the full list of errors. |
I created new service account, added recaptcha-related roles to the service account and that worked. While testing the new account, I found the issue that
Yes, this is an issue. It makes debugging so difficult. I have not run into this issue with REST API at all. |
I'm going to close this issue as obsolete as In addition, the docstring of
|
I am trying to test this library for a project and running into this issue where
create_assessment
call fails.Environment details
OS type and version:
MAC OSX 10.15.7
Python version:
python --version
python 3.8.6 (can be reproduced with python3.9.2)
pip version:
pip --version
pip 21.0.1
google-cloud-recpatchaenterprise
version:pip show google-cloud-recpatchaenterprise
Name: google-cloud-recaptcha-enterprise
Version: 0.3.0
Summary: UNKNOWN
Home-page: https://github.com/googleapis/python-recaptcha-enterprise
Author: Google LLC
Author-email: [email protected]
License: Apache 2.0
Location: /Users/dev/.local/share/virtualenvs/test-google-recaptcha-enterprise-yBATfFin/lib/python3.8/site-packages
Requires: google-api-core, proto-plus
Required-by:
Steps to reproduce
pipenv shell
pipenv install google-cloud-recaptcha-enterprise
export GOOGLE_APPLICATION_CREDENTIALS=<path-to-json-file>
Stack trace
The error can be reproduced with and without VPN.
The text was updated successfully, but these errors were encountered: