ItsMeAlfie0Original post
Rank 1: Thread
This seems to be occurring when accessing a document with relationships to other documents that have document security on.
const udb = await databases.getDocument(import.meta.env.CV_DB0_ID, "user", user.$id)
Summary
Developers are experiencing authorization issues when accessing documents with related data due to security settings. A temporary fix has been implemented by enabling read access on the collection.