👟 Reproduction steps
Whenever I call account.createMFAChallenge({...}) with a valid factor ('email' or 'totp'), it always throws an exception with error code: 401 and type:user_more_factors_required.
👍 Expected behavior
This worked fine and returned the challenge id using client sdk version 21.4.0
👎 Actual Behavior
It throws an exception with error code: 401 and type: user_more_factors_required
🎲 Appwrite version
Different version (specify in environment)
💻 Operating system
Linux
🧱 Your Environment
Appwrite 1.8.0 (selfhosted)
web-sdk: 21.5.0
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?