Community

Cloud OCR SDK (JavaScript) Not Working

Hello ,

I'm trying to test out JavaScript Code Sample.

But looks like HTTP call to service endpoint : http://cloud.ocrsdk.com/processImage?language=English&exportFormat=txt is not responding.

From below code getServerResponse callback is never called.

Can you please let us know if there any issues with this API. It used to work earlier.

======================================

var req = null;

if (requestOptions.protocol == 'http:') {

req = http.request(requestOptions, getServerResponse);

} else {

req = https.request(requestOptions, getServerResponse);

}

 

0

Comments

2 comments

  • Avatar
    Sri Gottu

    Can somebody help on this?

    0
    Comment actions Permalink
  • Avatar
    Oksana Serdyuk

    Hello,

    According to our logs, your application is operating successfully without any errors on our side. We see one successfully completed task on 26 August. Could you please specify if the issue is still actual? If so, first of all please check the correctness of your authentication credentials specified in your requests.For debugging you can use any HTTP debugger, for example Fiddler. It allows to see what requests are sent to the server and what are the responses. It can be downloaded for free from www.telerik.com/fiddler.

    And if the issue persists, please send to CloudOCRSDK@abbyy.com the logs from Fiddler. For this please run Fiddler and let it capture traffic while you reproduce the problem, then press the Save button on the top toolbar to save a .saz-file and send it to us.

    0
    Comment actions Permalink

Please sign in to leave a comment.