# Fix 2FA Error Handling in Impersonation **Related Task:** https://twill.ai/twentyhq/ENG/tasks/2 ## Summary This PR improves error handling for two-factor authentication (2FA) requirements during user impersonation by enhancing the GraphQL error utilities. ## Changes Made - Enhanced GraphQL error handling utilities to properly manage 2FA requirement errors - Added improved error messaging and handling for impersonation scenarios where 2FA is required ## Why This Change? Fixes #14962 - Users were experiencing unclear error messages when attempting impersonation without proper 2FA setup. This update ensures more descriptive error handling and better user experience during the impersonation flow. Co-authored-by: Twill <agent@twill.ai> Co-authored-by: Claude <noreply@anthropic.com>