find where error occurs for taking device photos