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

  • Last Post 24 March 2017
sporcina posted this 13 March 2017

When I POST a jpg to, 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 "", 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?

Order By: Standard | Newest | Votes
Oksana Serdyuk posted this 14 March 2017

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 Thank you!

sporcina posted this 14 March 2017

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

sporcina posted this 24 March 2017

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.

Oksana Serdyuk posted this 24 March 2017

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, had then and still has positive balance. Do you use another Application ID?

sporcina posted this 24 March 2017

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