コミュニティ

Receiving a http 401 getTaskStatus after successfully submitting a request to processReceipt

When I POST a jpg to http://cloud.ocrsdk.com/processReceipt, I receive:

<response> <task id="NNNNNNNNN" ...="" status="Queued" filescount="1" credits="0" estimatedprocessingtime="5"/> </response>

When I attempt to GET the status of the task after a minute using "http://cloud.ocrsdk.com/getTaskStatus?taskId=NNNNNNNNN", I receive a "401 Unauthorized" error.

I am using the same "Authorization" http header value.

Any ideas why my call to GET the status is being rejected?

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

5件のコメント

  • Avatar
    Permanently deleted user

    Please try to call your GET without the Authorization header.

    If the issue is still actual, kindly provide your Application ID and the Fiddler log for further investigation. You can send this info to CloudOCRSDK@abbyy.com. Thank you!

    0
  • Avatar
    Permanently deleted user

    Thank-you Oksana. I'm sending the email shortly.

    0
  • Avatar
    Permanently deleted user

    Figured out what was going on. The account I was using had run out of credits. Added more to it and I'm able to process again. It would be useful if the response from either submission informed about that the request will not be processed and why.

    0
  • Avatar
    Permanently deleted user

    We are glad to know that you have managed to begin working with the service successfully.

    However, a cause of the issue is not still clear. It would be more informative to see the logs from a HTTP debugger, and the logs should include the headers, the request content and the response from the service. The fact is that when an user tries to process a task and there are no enough credits on the balance of the application to do it, the returned status of the task should be NotEnoughCredits.

    Moreover, your Application ID (see our correspondence of the support ticket #605030), which you sent us to CloudOCRSDK@abbyy.com, had then and still has positive balance. Do you use another Application ID?

    0
  • Avatar
    Permanently deleted user

    Sorry since the issue has been resolved I can no longer replicate it. If it occurs again, I'll share the data.

    0

サインインしてコメントを残してください。