Error when processing documents in Cloud OCR SDK:
Python: Error: 403 Client Error: Forbidden for url
Java: Exception occured:Error getting server response
Processing location isn't specified in the application.
In Cloud OCR SDK the connection of the application and its processing location is permanent, so to process data in another region create a new application.
Full information about applications is stored on the Dashboard tab in your account. Data processing location and the corresponding URL string for the request methods can be found in the description of the application.
Please make sure that the correct location is specified in the following part of the project ( e.g. Java ):
restClient = new Client();
// replace with 'https://cloud-eu.ocrsdk.com' to enable secure connection
// replace with 'https://cloud-westus.ocrsdk.com' if your application is created in US location
restClient.serverUrl = "http://cloud-eu.ocrsdk.com";
restClient.applicationId = ClientSettings.APPLICATION_ID;
restClient.password = ClientSettings.PASSWORD;
Article is closed for comments.