AOTG API Result Status is always '''InQueue''': Difference between revisions

From AutoCount Resource Center
Content added Content deleted
(Created page with " Dispatch get Method of /api/public/v1/Result/{requestId}, it returns the status of previous requested task. There are basically 4 status indicates the process state. However...")
 
No edit summary
Line 3: Line 3:
There are basically 4 status indicates the process state.
There are basically 4 status indicates the process state.


However, the particular status of "InQueue" may indicate that there could be some issues:-
However, the particular status of "InQueue" may indicate that there could be some issues:-<br/>
1) AOTG Client is not updated
1) AOTG Client is not updated<br/>
2) AOTG Client is wrong version
2) AOTG Client is wrong version<br/>
3) The dispatch of method Result is too soon.
3) The dispatch of method Result is too soon.<br/>





Revision as of 04:42, 19 May 2021

Dispatch get Method of /api/public/v1/Result/{requestId}, it returns the status of previous requested task. There are basically 4 status indicates the process state.

However, the particular status of "InQueue" may indicate that there could be some issues:-
1) AOTG Client is not updated
2) AOTG Client is wrong version
3) The dispatch of method Result is too soon.



4 possible responses from process status.

InQueue status
  • InQueue status Indicates that the requests to AOTG Server is waiting to be processed.
  • Usually this happen when many requests are called to AOTG Web API in within a second.
    Make sure the request in the loop has pause time,
    or use 'batch' method to process multiple records in single request if applicable.
"RequestId": "f5175ac-8d11-4593-96ce-ccd36085d0d1",
"Status": "InQueue"
Processing status
  • Processing status indicates that the request is not complete.
"RequestId": "f5175ac-8d11-4593-96ce-ccd36085d0d1",
"Status": "Processing"
Completed status
  • Completed status Indicates that the request has been performed and succeeded.
"RequestId": "f5175ac-8d11-4593-96ce-ccd36085d0d1",
"Status": "Completed"
Failed status
  • Failed status indicates that the request has been performed but has error.
"RequestId": "f5175ac-8d11-4593-96ce-ccd36085d0d1",
"Status": "Failed"