[Google Cloud Vision OCR] I get a Google.Apis.Requests.RequestError API key expired
Forge component by Aurelio Junior
Published on 04 Apr 2019

Hi, I'm trying to use your OCR Demo on my own personal environment but I keep getting this error when I try to process an image. What do I do? I'm not really knowledgeable when it comes to APIs so I am at a dead end here.

Rank: #473

Hy Reynald,

You need to genereate your own API Key is free:


Then if you want to try to use the demo you need to put your key in all the places in the code where the App is calling the extencion (I belive that is in 3 places) and the code is hard coded in all the calls.

Good luck!

Rank: #118

Hi Reynald,

Nuno is right, you only have to pay if you go over a certain threshold. More details here. You do have to enable billing for your Google project with a valid payment method, though. The API will only work after you have done that, but you will only get charged if you exceed the specified thresholds.