Not sure too why you're obfuscating or similar your projectID (It's public)
Its not null
Could you try to put the project ID directly in the field (like a string)?
the error would have stated it, but just to be sure, have you added a WEB platform to your project?
Just noticed that's the problem. @Subramanya11 You should add web platform
I've thought the second screenshot was adding a domain in the web platform the web platform. It seems like it's adding localhost as a custom domain instead š
Just realized that the localhost is being added to the platform.
I checked on my end š
yep
Yeah that was dumb question on my part š I'm trying to think what could be going wrong.
ok np
What's the appwrite version you're using?
Cloud?
Yes cloud version
Appwrite version 11.0.0
In URL in your browser, do you have 127.0.0.1 or localhost? With 127.0.0.1 it wont work
localhost 3000
Is this the appwrite sdk version?
Can you use v10.1.0 instead and try?
Yep I did npm install appwrite
Sure
Let me know if ti works
I created a new project in appwrite cloud and followed the same steps again. Everything is working perfectly
Weird, probably any ID was not correct, or there was a bug
[SOLVED] CORS Error when accessing the documents in a collection
Recommended threads
- Project Paused Despite Daily Active Usag...
I noticed that my project was automatically **paused**, even though it is actively being used. The project is an **attendance application** that is used daily b...
- Hi Appwrite Support Team,My project has ...
Details: Project ID: 69a69f6f00113ed0e8e4 Region: SFO (sfo.cloud.appwrite.io) Error Response: Affected: ALL endpoints ā Functions, Databases, Storage, Health, ...
- Sudden CORS Errors - Domain hasn't Chang...
I have an Appwrite project with two web apps configured, the first one has the hostname `*` and the second one I just added to test if it could fix the issue wi...