Skip to content
Back

Database not found

  • 0
  • Web
wkijedi
18 Feb, 2023, 11:00

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)

TL;DR
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
18 Feb, 2023, 11:09

could you share the output of appwrite console where the database of the particular id is present?

wkijedi
18 Feb, 2023, 11:15
wkijedi
18 Feb, 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
18 Feb, 2023, 11:25
wkijedi
18 Feb, 2023, 13:28

Solved it<:appwritecheck:851487062112731146> . This is not even in the documentation. Look at how I initialized the Databases.

Maniac_Fighter
18 Feb, 2023, 14:25

hmm, that's strange. What version of SDk are you using??

wkijedi
18 Feb, 2023, 22:04

"appwrite": "^9.0.2",

Maniac_Fighter
19 Feb, 2023, 03:36

That’s the issue

Maniac_Fighter
19 Feb, 2023, 03:36

You are probably using an old version of sdk

Maniac_Fighter
19 Feb, 2023, 03:36

The latest os 10.2

wkijedi
19 Feb, 2023, 05:15

Okay. Thsnks

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more