
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
- Stuck in "deleting"
my parent element have relationship that doesnt exist and its stuck in "deleting", i cant delete it gives me error: Collection with the requested ID could not b...
- Help with 409 Error on Relationship Setu...
I ran into a 409 document_already_exists issue. with AppWrite so I tried to debug. Here's what I've set up: Collection A has 3 attributes and a two-way 1-to-m...
- 1.7.0 Self Hosted Upgrade
Hi, I've tried a fresh install on 1.7.0 and I've also done a fresh install on 1.6.2. 1.6.2 is working fine fresh, update to 1.7.0 and migrate fails Fresh inst...
