Sorry, fixed it. single() will return error if empty (but the error code really misguided). so using maybeSingle() solved this