API key invalid after one use, using the Google Cloud Vision package for MIT App Inventor (2024)

This website uses Cookies. Click Accept to agree to our website's cookie use as described in our Privacy Policy. Click Preferences to customize your cookie settings.

Preferences

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Search instead for

Did you mean:

Topic Options

API key invalid after one use, using the Google Cloud Vision package for MIT App Inventor

Posted on11-12-2023 08:10 PM

API key invalid after one use, using the Google Cloud Vision package for MIT App Inventor (1)

festrellaAPI key invalid after one use, using the Google Cloud Vision package for MIT App Inventor (2)

Bronze 1

Post Options

Reply posted on--/--/---- --:-- AM

Post Options

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:

Error from Cloud: API Key not valid. Please pass a valid API key

Any ideas why it may happen?

Code below

API key invalid after one use, using the Google Cloud Vision package for MIT App Inventor (3)

Google Bard said:

There are a few possible reasons why your API key might work once but not the next time:

  • Your API key might have expired.API keys typically have an expiration date.If your API key has expired,you will need to create a new API key.
  • Your API key might have been revoked.API keys can be revoked for a variety of reasons,such as if they are compromised or if they are no longer needed.If your API key has been revoked,you will need to create a new API key.
  • There might be a problem with the Google Cloud Vision API.If you are experiencing problems with the Google Cloud Vision API,you can check the Google Cloud Platform status page to see if there are any known issues.

    The only thing that applies is if it was revoked. Does this happen regularly?

    It works if I reload the app

112,381

1 REPLY 1

Posted on--/--/---- --:-- AM

API key invalid after one use, using the Google Cloud Vision package for MIT App Inventor (4)

SanketK

Staff

Post Options

Reply posted on--/--/---- --:-- AM

Post Options

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. TheVision API Getting Startedpage 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

API key invalid after one use, using the Google Cloud Vision package for MIT App Inventor (5)

API key invalid after one use, using the Google Cloud Vision package for MIT App Inventor (6)

Top Labels in this Space

API key invalid after one use, using the Google Cloud Vision package for MIT App Inventor (2024)
Top Articles
World's Best Algo Trader | Story of Jim Simons | The Man Who Solved the Markets - Algo Trading in India |
Pomona Investment Fund
English Bulldog Puppies For Sale Under 1000 In Florida
Katie Pavlich Bikini Photos
Gamevault Agent
Pieology Nutrition Calculator Mobile
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Compare the Samsung Galaxy S24 - 256GB - Cobalt Violet vs Apple iPhone 16 Pro - 128GB - Desert Titanium | AT&T
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Craigslist Dog Kennels For Sale
Things To Do In Atlanta Tomorrow Night
Non Sequitur
Crossword Nexus Solver
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Energy Healing Conference Utah
Geometry Review Quiz 5 Answer Key
Hobby Stores Near Me Now
Icivics The Electoral Process Answer Key
Allybearloves
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Pearson Correlation Coefficient
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Marquette Gas Prices
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Vera Bradley Factory Outlet Sunbury Products
Pixel Combat Unblocked
Movies - EPIC Theatres
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Mia Malkova Bio, Net Worth, Age & More - Magzica
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Where Can I Cash A Huntington National Bank Check
Topos De Bolos Engraçados
Sand Castle Parents Guide
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Hello – Cornerstone Chapel
Stoughton Commuter Rail Schedule
Nfsd Web Portal
Selly Medaline
Latest Posts
Article information

Author: Rubie Ullrich

Last Updated:

Views: 6285

Rating: 4.1 / 5 (52 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Rubie Ullrich

Birthday: 1998-02-02

Address: 743 Stoltenberg Center, Genovevaville, NJ 59925-3119

Phone: +2202978377583

Job: Administration Engineer

Hobby: Surfing, Sailing, Listening to music, Web surfing, Kitesurfing, Geocaching, Backpacking

Introduction: My name is Rubie Ullrich, I am a enthusiastic, perfect, tender, vivacious, talented, famous, delightful person who loves writing and wants to share my knowledge and understanding with you.