Fix some NPEs in FlowApiRequests failed request handlers