working on localhost but not on the live site(changed the platform id too)
- 0
- Databases
- Auth
- Web
- Cloud
My website is working fine on the localhost, yet I am not able to fetch data and create anything on the live site.
I created a separate platform and changed the hostname. on the live site, the login and logout are working fine. but I can't do any crud operations. I am not sure what I am missing!
can anyone help, please? it's urgent!
Did you setup your environment variables correctly?
yes i did.
What's the network request look like when fetching data?
like this
Can you click into it? It says 404, makes me thing you've put the wrong project id, database id, or collection id.
You don't have your environment variables setup correctly.
no my environment is all there. nothing missing. let me redeploy the project again
Well, it says undefined, if you're using the environment variables to populate that. Then it's not setup correctly lol
Recommended threads
- 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...
- Appwrite Storage error 503s for automate...
I'm facing error 503s from Appwrite after about 5-6 seconds of making AI requests from my tool with images and files above 20MB (=> not inline base64 used, but ...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...