Normalize errors format, avoid duplicating sessions