export errors and IDToken