adrianhajdin / social_media_app

Build a modern social app with a stunning UI with a native mobile feel, a special tech stack, an infinite scroll feature, and amazing performance using React JS, Appwrite, TypeScript, and more.
https://jsmastery.pro
1.06k stars 311 forks source link

stuck on the create user api #20

Closed bullseye405 closed 7 months ago

bullseye405 commented 7 months ago

I am getting error when creating user account

Screenshot 2023-11-16 at 20 25 50

All the appwrite configurations are same. Couldn't find out the issue here!

Screenshot 2023-11-16 at 20 27 33 Screenshot 2023-11-16 at 20 27 52 Screenshot 2023-11-16 at 20 28 08
TheerthA88 commented 7 months ago

same issue for me as well. couldn't fix it

TheerthA88 commented 7 months ago

Hey @bullseye405, I've fixed this issue...

TheerthA88 commented 7 months ago

have you added platform in appwrite?

bullseye405 commented 7 months ago

@TheerthA88 no, i just followed with the tutorial

TheerthA88 commented 7 months ago

@bullseye405, it's not there in the tutorial. But we need to add a web platform in appwrite

TheerthA88 commented 7 months ago

In appwrite, add web platform.

Name: we can give any random (related to project will be looks good) Hostname: * as in attachment

appwrite

Swyangdipta commented 7 months ago

In appwrite, add web platform.

Name: we can give any random (related to project will be looks good) Hostname: * as in attachment

appwrite

thank you it helped

gideon-124 commented 7 months ago

In appwrite, i have added the web platform. It is not working Screenshot from 2023-11-22 19-17-36

can some one help me for this

TheerthA88 commented 7 months ago

In appwrite, i have added the web platform. It is not working Screenshot from 2023-11-22 19-17-36

can some one help me for this

@gideon-124, can you pls share a screenshot of config.ts

and share console error screenshot

gideon-124 commented 7 months ago

@TheerthA88
i have shared the screenshots

Screenshot from 2023-11-23 10-20-58 Screenshot from 2023-11-23 10-22-58 Screenshot from 2023-11-23 10-26-24 Screenshot from 2023-11-23 10-26-44

TheerthA88 commented 7 months ago

@TheerthA88 i have shared the screenshots

Screenshot from 2023-11-23 10-20-58 Screenshot from 2023-11-23 10-22-58 Screenshot from 2023-11-23 10-26-24 Screenshot from 2023-11-23 10-26-44

@gideon-124, remove appwriteConfig.projectId and appwriteConfig.url

In place of those directly give your projectId and url in double quotes image

hope it works :)

gideon-124 commented 7 months ago

It works fine. Thanks @TheerthA88

@TheerthA88 i have shared the screenshots Screenshot from 2023-11-23 10-20-58 Screenshot from 2023-11-23 10-22-58 Screenshot from 2023-11-23 10-26-24 Screenshot from 2023-11-23 10-26-44

@gideon-124, remove appwriteConfig.projectId and appwriteConfig.url

In place of those directly give your projectId and url in double quotes image

hope it works :)

thanks you. Now it is working fine