[TASK] convert last remaining to new error and response handling