Crash Business Card

  • Last Post 09 July 2018
Muzamil Hassan posted this 05 July 2018

My app crashes when I received scanned card data, but downloadURL is nil and it crashes the app and its not happening every time , when i hit get status with taskId response is 


<task id="44accf24-7396-4e65-8d7f-39aa487b8062" registrationTime="2018-07-05T09:22:22Z" statusChangeTime="2018-07-05T09:22:22Z" status="ProcessingFailed"filesCount="1" credits="10" error="Internal error"/>


</response>     I am stuck in this issue , Kindly help me asap

Oksana S. posted this 09 July 2018

According to our logs, some your tasks are failed to process with the "Business card not found on the image" message. To know the exact reason of the issue you correctly use the getTaskStatus method, but please pay your attention to one peculiarity of usage of this method. If you call the getTaskStatus method for the first time (for the first task with a problem file) you will get the response with the corresponding cause of the issue, i.e. the specific error message. And all other tasks with the same file are also failed to process, but the getTaskStatus method will return the response with the ProcessingFailed status and the Internal error description without more details. Please consider this when implementing your application.