Hello OCR.space team,
I recently signed up for a free OCR API key and received it by email. However, when I try to use it with the free OCR API endpoint, I get the following error:
{
"OCRExitCode": 99,
"IsErroredOnProcessing": true,
"ErrorMessage": [
"OCR.space: E550: Invalid free API key Please sign up for a free ocr api key on OCR.space."
]
}
The API key was sent to me by email and it starts with K8@ and ends with 8957. I am not posting the full key publicly for security reasons.
I am using the free endpoint:
https://api.ocr.space/parse/image
My configuration is:
return array(
'provider' => 'ocrspace',
'ocrspace_api_key' => 'K8@...8957',
'ocrspace_endpoint' => 'https://api.ocr.space/parse/image',
'ocrspace_language' => 'spa',
'ocrspace_engine' => '2'
);
I also tested the same API request using the public test key helloworld, and that works correctly. So the endpoint, file upload, and general request structure seem to be working fine. The issue only happens when I replace helloworld with my newly issued free API key.
I tried sending the key as a header:
apikey: K8@...8957
And I also checked that there are no extra spaces before or after the key.
I am using:
language=spa
OCREngine=2
isOverlayRequired=false
Could you please check if my free API key was activated correctly or if there is an issue with newly issued keys?
Thank you.
