Request has not been completed yet. Please check back in couple of minutes

  • 1
  • Question
  • Updated 4 weeks ago
  • Answered
Hi,

I am calling the API to add new time entries using this: <TimeTrackingAddRq ...
But when I send several items (like 200) sometimes API returns  this message:  {"RequestId":"8f7136c0-7130-415b-8498-4362173b1df9","Data":null,"Success":true,"RetryLater":true,"Message":"Request has not been completed yet. Please check back in couple of minutes"}"Request has not been completed yet. Please check back in couple of minutes"

How can I get the expected answer? because I am waiting the response like <TimeTrackingAddRs requestID=\"149326495\" ...

In this way I could get the TxnID created.

Maybe could I do a call using the RequestId, to get the expected answer, could you give me an example of the call?

Please your help.
Photo of Omar Sosa

Omar Sosa

  • 70 Points

Posted 4 weeks ago

  • 1
Photo of Rav

Rav, Community Manager

  • 64,528 Points 50k badge 2x thumb
Hi Omar,
I've asked the API team about your query and they've advised this is normal behaviour with the Reckon Accounts Hosted API when the request takes longer than approximately 2.5 minutes to process (i.e. a the sent request is asking for a significant amount of data or submitting a significant amount of data). The API returns a 'Check back..' message due to the pending request timeout.

To get the request results, an additional request submitting the RequestID that was returned with the 'Check back..; response.
This secondary request is: https://api.reckon.com/RAH/v2/{retrieveid} where 'retrieveid' is the RequestId returned in the initial response. In your case this is: 8f7136c0-7130-415b-8498-4362173b1df9
If the request is still not finished when a secondary request is sent, another 'Check back..' response will be received and another secondary request specifying RequestId will need to be sent. This continues until the response data for the initial request is returned.

I'd also recommend checking out our Reckon Accounts Hosted help article here - https://reckon.helpdocsonline.com/api-reckon-accounts-hosted-faq
Hi Omar,

Can you share the whole request?