assistant-sdk-python
assistant-sdk-python copied to clipboard
Error disable client on registring device
When I try to authorize my device with the credentials gotten from registering, I get this error when trying to activate;
Error: disabled_client
A native application: project-672827294112
You can email the developer of this application at: [email protected]
If I use the oAuth credentials from the Google Cloud page associated with it, I can get past it but then get as expected an error later when trying push-to-talk;
WARNING:root:Device config not found: [Errno 2] No such file or directory: '/root/.config/googlesamples-assistant/device_config.json'
INFO:root:Registering device
ERROR:root:Failed to register device: {
"error": {
"code": 400,
"message": "Could not create the device instance. Project_id from side channel and project_id from url do not match.",
"status": "INVALID_ARGUMENT"
}
}
I could get past by creating a new json in the cloud console. But, using the one from device registration still doesn't work.
You need to first use the google-oauthlib-tool along with the client_secret_xxx.json to generate a valid credentials.json file.