Payload Does Not Include Attributes Linked to Other Collections in Appwrite Real-Time Subscription
- 0
- Self Hosted
- Flutter
- Databases
- Realtime
Hello,
I'm using Appwrite's real-time subscriptions to listen for updates in the matches collection. However, when a match document is updated, the payload does not include the referenced league field, even though it's a reference to another collection.
Here are the attributes in the document (image attached), but the payload only returns some data. Fields like league, home, and away, which are references to other collections, are not included in the payload.
Example of the payload returned: { "status": "Mi-temps", "date": "2024-11-13", "time": "23:20", "home_score": null, "away_score": 1, "plan_type": "Free", "$id": "67352622003d2aa1778c", "$createdAt": "2024-11-13T22:20:19.157+00:00", "$updatedAt": "2024-11-13T22:31:11.274+00:00", "$permissions": [], "$databaseId": "6709f408000313dc5d58", "$collectionId": "670ca8f0001bce7cd332" }
Could you please help me understand why these related fields (like league) are missing from the payload?
Recommended threads
- _APP_OPTIONS_ROUTER_PROTECTION
Hi Everyone, I just setup a fresh 1.9.0 on a server. Configured everything and now when i try to connect to appwrite for first time setup i get a _APP_OPTIONS_R...
- API key without database.read/write
I had some issues with my previous API key and I deleted it then I wanted to create a new one and discovered the database checkbook has no database.read/write j...
- dynamic key missing scopes for database ...
Here are the scopes listed, I get permission errors for reading row and document. Appears to be missing since last time i checked. Database 6 Scopes policies....