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
A Beginner’s Guide to Black Spot Mould – Causes, Problems and Solutions - CorkSol UK
What Is a Solvency Ratio, and How Is It Calculated?
Swimgs Yuzzle Wuzzle Yups Wits Sadie Plant Tune 3 Tabs Winnie The Pooh Halloween Bob The Builder Christmas Autumns Cow Dog Pig Tim Cook’s Birthday Buff Work It Out Wombats Pineview Playtime Chronicles Day Of The Dead The Alpha Baa Baa Twinkle
Davita Internet
Hawkeye 2021 123Movies
RuneScape guide: Capsarius soul farming made easy
2022 Apple Trade P36
Goteach11
When Is the Best Time To Buy an RV?
Savage X Fenty Wiki
Hope Swinimer Net Worth
Love In The Air Ep 9 Eng Sub Dailymotion
Snow Rider 3D Unblocked Wtf
London Ups Store
Tamilrockers Movies 2023 Download
Imagetrend Inc, 20855 Kensington Blvd, Lakeville, MN 55044, US - MapQuest
Costco Gas Foster City
Vandymania Com Forums
Project Reeducation Gamcore
E32 Ultipro Desktop Version
Cb2 South Coast Plaza
Papa Johns Mear Me
Studentvue Calexico
Bfsfcu Truecar
HP PARTSURFER - spare part search portal
Tim Steele Taylorsville Nc
Issue Monday, September 23, 2024
+18886727547
Rogold Extension
Bursar.okstate.edu
Shiftwizard Login Johnston
Kagtwt
Moses Lake Rv Show
Boggle BrainBusters: Find 7 States | BOOMER Magazine
2008 DODGE RAM diesel for sale - Gladstone, OR - craigslist
Lovely Nails Prices (2024) – Salon Rates
Immobiliare di Felice| Appartamento | Appartamento in vendita Porto San
Mississippi weather man flees studio during tornado - video
Weekly Math Review Q2 7 Answer Key
At Home Hourly Pay
The Great Brian Last
War Room Pandemic Rumble
Gabrielle Abbate Obituary
Tyco Forums
Unblocked Games 6X Snow Rider
Marcel Boom X
Page 5747 – Christianity Today
Oefenpakket & Hoorcolleges Diagnostiek | WorldSupporter
Sleep Outfitters Springhurst
Public Broadcasting Service Clg Wiki
Karen Kripas Obituary
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.