Skip to content
Back

upsert_documents is not work with jwt client

  • 0
  • Databases
  • Functions
  • Self Hosted
Nevets
22 Jun, 2025, 15:26

client.set_jwt(jwt) databases = Databases(client) databases.upsert_documents(General, Pallets, [{"$id": "684aeb3e0021e64c10f1", "name": 'тест '}])

This code always return "Database not found"

TL;DR
Developers are experiencing issues with the upsert_documents method not working with JWT client authentication. The error "Database not found" is occurring consistently.
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