Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Error 403 Request #347

Closed
Gravenilvec opened this issue Apr 28, 2018 · 2 comments
Closed

Error 403 Request #347

Gravenilvec opened this issue Apr 28, 2018 · 2 comments

Comments

@Gravenilvec
Copy link


Hi, im trying to start my assistant librairy demo.py file but i have an error
Error 403 on trying requesting to the google assistant api .

> pi@raspberrypi:~/AIY-projects-python $ src/examples/voice/assistant_library_demo.py 
> Traceback (most recent call last):
>   File "src/examples/voice/assistant_library_demo.py", line 73, in <module>
>     main()
>   File "src/examples/voice/assistant_library_demo.py", line 67, in main
>     with Assistant(credentials) as assistant:
>   File "/opt/aiy/projects-python/src/aiy/assistant/library.py", line 33, in __init__
>     self._model_id = device_helpers.register_model_id(credentials)
>   File "/opt/aiy/projects-python/src/aiy/assistant/device_helpers.py", line 93, in register_model_id
>     r.raise_for_status()
>   File "/usr/local/lib/python3.5/dist-packages/requests/models.py", line 935, in raise_for_status
>     raise HTTPError(http_error_msg, response=self)
> requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://embeddedassistant.googleapis.com/v1alpha2/projects/gravenrpi/deviceModels/gravenrpi-voice-kit
> pi@raspberrypi:~/AIY-projects-python $ 
@Gravenilvec
Copy link
Author

Resolved by reinstalling the OS

@drigz
Copy link
Member

drigz commented May 2, 2018

Glad you got it working!

This looks like a duplicate of #321.

@drigz drigz closed this as completed May 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants