Hello
Pretty exciting to see this worked quickly, but i hit a snag!
I started using this package in the MIT App Inventor 2
Google Cloud Vision - Extensions - MIT App Inventor Community
It does what it says the first time, but the second and subsequent times it returns this error:
Any ideas why it may happen?
Code below
Google Bard said:
There are a few possible reasons why your API key might work once but not the next time:
Hi @festrella ,
I believe the likely cause for this could be one of the below reasons:
1) The API key has indeed expired. In which case you would need to request/create a new key.
2) Can you confirm if you are using a Server key, since you need to use a browser key. The Vision API Getting Started page has detailed screenshots, as well as a curl example.
3) Highly unlikely, but confirm if you are trying to use the api key in the correct project.
You may also want to check for errors in the cloud audit logs.
Kind Regards,
SanketK