[SOLVED] The function 'Databases' isn't defined.

  • 0
  • Databases
2 Apr, 2024, 11:13

Using Dart SDK I get "The function 'Databases' isn't defined." error when trying Databases(client). I import 'package:dart_appwrite/dart_appwrite.dart' and User(client) works but not Databases. What am I missing?

[SOLVED] User error - outdated sdk version was the issue. Updated to the latest version and now the code works properly.
2 Apr, 2024, 11:18

Oh never mind, user error. For some reason I had old sdk version as a dependency. Updated to latest and it seems to work now.

2 Apr, 2024, 11:19

If your issue has been solved, you can mark this post as closed by adding "[SOLVED]" to the beginning of the title

2 Apr, 2024, 11:21

[SOLVED] The function 'Databases' isn't defined.


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