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
- I have try to use the appwrite in to the...
Invalid Origin. Register your new client (oailedjdbkhlkakmnnapoonllbnfmfij) as a new Web (Chrome Extension) platform on your project console dashboard
- Self hosted project based backup
Is there a native way to perform a project-level backup in a self-hosted instance, instead of backing up the entire Docker instance? If not, I would like to off...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...