I have set everything right but I get this error. What could be the issue? AppwriteException: Database not found at Client.eval (webpack-internal:///./node_modules/appwrite/dist/esm/sdk.js:391:27) at Generator.next (<anonymous>) at fulfilled (webpack-internal:///./node_modules/appwrite/dist/esm/sdk.js:37:58)
Summary
User is experiencing an issue with a database not being found in their project. They mention using the latest OS 10.2 and suspect that an old version of the SDK may be causing the issue. The user later mentions solving the issue by initializing the databases correctly. They also mention a discrepancy in the project Dashboard where only one database is registered instead of two. Another user asks for the output of the appwrite console to validate the existence of the database. The original user then shares an error message indicating a "Database not found" exception. There is no solution provided in the thread.
Maniac_Fighter
Feb 18, 2023, 11:09
could you share the output of appwrite console where the database of the particular id is present?
wkijedi
Rank 1: Thread
Feb 18, 2023, 11:15
wkijedi
Rank 1: Thread
Feb 18, 2023, 11:24
When I look at the project Dashboard, I can only see 1 database registered. But they are two. Sth weird I may say
wkijedi
Rank 1: Thread
Feb 18, 2023, 11:25
wkijedi
Rank 1: Thread
Feb 18, 2023, 13:28
Solved it . This is not even in the documentation. Look at how I initialized the Databases.
Maniac_Fighter
Feb 18, 2023, 14:25
hmm, that's strange. What version of SDk are you using??