#sign up / sign in issue on Store It
57 messages · Page 1 of 1 (latest)
Can someone help me?
Hi! If you share some code, perhaps we can help you further.
(or share the GH repo would be even better...)
Which part of code do you want to share?
So is someone to help me?
Gonna try to reproduce here and will let you know if I have any success..
ok, waiting
Is this project from a tutorial somewhere?
Yes
Build a Professional and Production-ready Storage Management Platform inspired by giants like Google Drive, Dropbox, and OneDrive, used by billions of users.
⭐ Get $50 free Appwrite Pro credits: https://apwr.dev/JSM050
🌟 WebStorm: https://jb.gg/JSMastery
📙 Get your FREE 218-page Ultimate Next.js eBook - https://resource.jsmastery.pro/nextjs-eb...
Well... I built the project locally (after setting up all the prereqs on appwrite) and was able to create an account. Could you paste the error you're getting in text here, since it's not readable on your print?
My bet, as of now, would be that something was setup wrong on your appwrite account.
I can't send u all error here, but i can send you .txt with error
Did you add the user collection id (it looks like appwrite calls tables "collections") to the .env.loca file on property NEXT_PUBLIC_APPWRITE_FILES_COLLECTION?
Something like this... Obviously those ids are fake (not mine ones)
Did you add the file collection ID to the property NEXT_PUBLIC_APPWRITE_FILES_COLLECTION on your .env.local file?
yes
Also: did you create the attributes on your users collection exactly like instructed on the video? Could you paste a screenshot of the attributes for the users collection? My one looks like this:
Note the email attribute type is email...
same here
Also: I assume you generated an API key, right?
yes
Well... Your code worked perfectly for me. The only thing I need to change was to add the .env.local file. There can only be something wrong on your appwrite project setup. Can't think of anything else. I suggest you delete your project and recreate following carefully the steps.
oh.. ok bro, thanks a lot for your time
No problem. Sorry if I couldn't help any further. Feel free to DM me if you need help with anything else.
Thanks a lot!
can u check this issue? I just start with npm run dev
and when i open localhost, i get this issue.
so this time not for sign up
So?
??!
dude is the set key function is working??
its not working for me like adrian and the package is not like "node-appwrite" its now called appwrite am i right?
GET /sign-up 200 in 260ms
⨯ AppwriteException: Missing required parameter: "collectionId"
at Databases.listDocuments (D:\StoreIt.next\server\chunks\ssr\node_modules_node-appwrite_dist_61e1da..js:3270:19)
at getUserByEmail (D:\StoreIt.next\server\chunks\ssr[root of the server]__d3aee0..js:926:36)
at async createAccount (D:\StoreIt.next\server\chunks\ssr[root of the server]__d3aee0._.js:947:26)
digest: "3437059974"
POST /sign-up 500 in 68ms
Hey! This error seems quite similar to the first one. I really can't understand what's happening.
Na, I’ll remake the application again.. unfortunately
It doesn't seem to be a problem with your code (I've used your code from github and it worked perfectly). It might be some "garbage" on your project folder or something wrong with your setup on appwire. Try download your own github code on a new folder and running it.
If that doesn't work, the suspicion grows on your appwire setup.
I’m more than sure is appwrite.. but idk now what.. what I need to change or fix
I would delete the project and recreate on appwrite. I set it up in less than 10 minutes.