Issue in REST call

Hi,
i am trying to make API callout through salesforce, its hitting the url correctly, getting status=ok but getting error message “Some internal processing error occurred. Please give us some time, we are looking into this!”. so we tried lots of time to achieve this. but unable to get it done.

Could you please help me with this?

If you test the connection with Postman, do you get the same result?

You probably know it, but just in case: Postman is a free Chrome app, see https://ocr.space/ocrapi#postman

If you see the problem even with Postman, a screenshot of the result could be helpful.

Its working with postman connection.

but now i am facing this error => System.HttpResponse[Status=Request-URI Too Long, StatusCode=414]

Code Snippet:

List File = [select ID, Title,VersionData from ContentVersion where Title=‘test.jpg’ limit 1];
try{
String B64 = EncodingUtil.base64Encode(File[0].versionData);
Http http = new Http();
HttpRequest req = new HttpRequest();
req.setEndpoint(‘https://api.ocr.space/parse/imageapikey=[API_Key]&base64Image=’+B64);
req.setMethod(‘POST’);
req.setHeader(‘apikey’,’[API_Key]’);
req.setHeader( ‘Accept’,‘application/json’);
req.setBody(B64);
req.setTimeout(20000);
HTTPResponse res = http.send(req);
if(res.getStatusCode() == 200){

          System.debug(res.getBody());
        }
        else{
            
        }
    }
    catch(Exception Ex){
        System.debug('Exception in HTTP callOut-->'+Ex);
        
    }

Any suggestions from you would be great!
Thanks in advance.

could you please help me with this? i am getting sometimes timeout error, forbidden error, or some internal processing error.

Please help me with this.