Hello! I have the following register function in React:
TypeScript
async function register(email, password, name) {
await account.create(ID.unique(), email, password, name);
await account.createVerification('http://localhost:3000/verify');
navigate('/login');
}
The user is registered, but the verify email is somehow not send. I get the error: POST https://SECRET.de/v1/account/verification 401 (Unauthorized)
TL;DR
Developers are facing a 401 error when trying to send a verification email using Appwrite. The issue may be due to incorrect API credentials or missing authentication headers. Double-check the credentials and ensure they are correct.Recommended threads
- [Beginner] CLI --queries Syntax Error & ...
Hi everyone! I am a beginner with Appwrite and trying to use the CLI, but I'm stuck with a syntax error. Any guidance would be greatly appreciated! 🙏 **Enviro...
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...
- general_bad_request when creating accoun...
I have created a new bug request, could anyone have a look - https://github.com/appwrite/appwrite/issues/11908?