auth with errors