requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: http://cloud.ocrsdk.com/processImage
Authentication problem using Python codesample
この記事は役に立ちましたか?
0人中0人がこの記事が役に立ったと言っています
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: http://cloud.ocrsdk.com/processImage
0人中0人がこの記事が役に立ったと言っています
コメント
4件のコメント
First, you should make sure that the request has the correct header and body. Please check that you're using right Application ID and Application Password. Keep in mind that capitalization and white spaces matter. In our Python code sample they should be specified in the lines 42-43, for example:
You can use HTTP debugger for this task (Fiddler or any other that is suitable for your platform).
Also if you’re sure that the credentials are correct, try to reset your Application Password via the Application settings once again.
If the above doesn't help, please send the following information to Cloudocrsdk@abbyy.com:
Thank you Oksana.
I checked the prerequisite but still getting the 401 error.
I am sending an email with the details and request you to check and revert.
I am planning to add for a enterprise solution.
Also, if you could let me know how to set the proxy in the code it will be greatful.
Thank you.
Regards,
Nandini
We have received your message. Most possible you use incorrect Application Password, so please try to reset it.
サインインしてコメントを残してください。