I am following the react web tutorial given in the appwrite docs. https://appwrite.io/docs/tutorials/react/step-1 For some reason I am able to login a user if I manually create one through the console. But if do it through the client it throws some erros from one of the account modules.
That tutorial is incorrect. account.create() has three required parameters - userId (which you can set to unique() to have Appwrite generate one automatically), email and password.
The code is given in the third picture
it says unique isnt defined ?
it also says cannot access userId before intialization
Nevermind I didnt import the ID from appwrite module
Here is the code
Close the thread as SOLVED.
Not able to register a user [SOLVED]
@VincentGe do we have a PR for this yet?
[SOLVED] Not able to register a user
Sorry, I meant "unique()" as a string (ID.unique() just returns a string "unique()")
Ugh I swear I fixed this
Review please
happening with me as well mhow did you solve this?
Whatβs your issue?
nvm, I opened another thread and the issue is resolved
Recommended threads
- general_route_not_found - Auth Guide
If youβve just added a subdomain to your project, verified your DNS records, and confirmed your SSL certificate is working, but you're still hitting a `general_...
- Can't resume paused project
I have logged in in incognito, done the email verification and still get the invalid fingerprint error. What's the issue.
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...