Removed traceback line from machine_request_error to see if it solves the error-task-causing-error problem