Skip to content
Back

Go: undefined function from the SDK?

  • 0
  • Cloud
V
9 Aug, 2025, 13:40

databases.CreateDocumentPermissions() is undefined I have both imported

TypeScript
"github.com/appwrite/sdk-for-go/databases"
"github.com/appwrite/sdk-for-go/id"

something similar happened to me when setting up the client like in here it didn't work but when I followed this other way it worked??

TL;DR
Developers are encountering an issue where `databases.CreateDocumentPermissions()` function is undefined in the Go SDK for Appwrite. The function is imported correctly, but still causing problems. The first method from the documentation does not work while the second one does.
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