API key is not valid

I’ve been having a problem with the online OCR, sometimes it doesn’t works, it just throws the error like this.

2024-10-22T07:35:59.513Z - [info] OCR (spa) started (236.8 KB)
2024-10-22T07:36:29.540Z - [warning] Error in OCR endpoint 3 after 30.0s: timeout
2024-10-22T07:36:29.554Z - [error][ignored] invalid API key

Usually it works well, but it annoys me a bit when that happens, Just wanted to solve it if possible.

Currently using it to FREE endpoint, with UIVISION.

I am confused. Is this a free or a PRO api key? If PRO key, please email us at team AT ui.vision and mention this forum post & the key.

Currently i’m using the free one.

It has happend testing with OCR engine 2

imagen

Ah, now I see, you are using the free OCR API key inside Ui.Vision! :slight_smile:

If so, what is happening is this: Ui.Vision tries to access the free OCR API endpoint first. If this one is down, it connects to a PRO endpoint. But with your free key, the PRO endpoint returns an error. So this is kind of a bug. It should not access the PRO endpoint, but simply return a “free endpoint down” message.

We do our best to keep the free endpoint up and running, but sometimes it is overloaded. You can see the OCR API status here: https://status.ocr.space/

1 Like

has happened to me several times as well, the free server is up the free ocr key is rejected - this time i tried to re enter in the OCR.Space OCR API Key and hitting test- and indicates the key is invalid… it was cut and pasted from the email notifying the api key