Project with the requested ID could not be found. Please check the value of the X-Appwrite-Project h
- 0
- Android
- Flutter
- Accounts
It's recommended to initalise the client object only once and pass it everywhere
also your project Id is still wrong
done that also, but still i'm getting the error
How can i correct my project id?
show your client instance
your projectId ( a lont 32 char text) and you passed "neop" in the previous screenshots
i tried with both
@Maniac_Fighter , i've changed "neop" to "32char text project id" but now i'm getting another error
it's working, but why i'm getting the error "Invalid Origin. Register your new client (com.example.neop) as a new Android platform on your project console dashboard"
Have you added the project in the appwrite console?
i added in appwrite dashboard .
How can i add project into appwrite console
they are same
can you show the appwrite dashboard?
and can you see your platform with the id (com.example.neop)
below?
please help @Maniac_Fighter
No idea what's the issue here. Maybe look at this ?(https://github.com/appwrite/appwrite/issues/743)
Make sure there aren't any extra spaces. And make sure this is the right project
@gopal I noticed you're initializing your client like this:
Client()
..setEndpoint('endpoint-here')
..setProject('project-id-here')
..setSelfSigned(status: true);
Have you tried creating an instance of the client first? I've faced issues at times when using the class constructor by itself to access it's methods. Try this and see if it works:
Client client = Client();
client
.setEndpoint('endpoint-here')
.setProject('project-id-here')
.setSelfSigned(status: true);
Recommended threads
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...
- Compatibility issue with Kakao OpenID Co...
**Context:** I am attempting to integrate **Kakao Login** (one of the largest social login providers in South Korea) into my Flutter application using Appwrite'...
- [SOLVED] Appwrite 25.1.0 returns Invalid...
I've already opened an issue on GitHub, but somewhat it doesn't seem like GitHub is monitored very closely, so I'm leaving a bug report here on Discord as well....