Skip to content
Back

Go SDK ListDocuments doesn't retrieve documents' data

  • 0
  • Self Hosted
Jorge
25 Jan, 2025, 01:47

Hey guys! In the Go SDK, when using ListDocuments with an API Key or JWT, I'm not getting the documents' data in the resulting models.DocumentList. When querying for a single document with GetDocument, however, I get the document data. I tried the REST way and the "ListDocuments" endpoint works as expected, returning the documents' data. Looks like there's an issue with json Unmarshalling in the ListDocuments method.

TL;DR
Issue with Go SDK ListDocuments not retrieving documents' data for developers using API Key or JWT, but GetDocument works fine. Rest endpoint works as expected. Possible problem with json Unmarshalling in ListDocuments method.
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