Correctly check and propagate errors in v2 session