REST Calls to my database do not return the values of Relationship Attributes in a document, which has caused several functionalities in my application to break.
I recently updated the schema of my prod db and ever since GET Calls to my DB have not been returning values of any Relationship Attribute from my Collection
As you can see in this image (Highlighted Row number 70), friends is a relationship attribute which contains a document (is not empty)
However this is the result recieved on GET Calls to the same document
As you can see, none of the Relationship Attributes are present (followers, friends, userReports)
But I was not expecting the attrs with no documents to show up anyways, because I know that on Schema updates by default the added fields remain null until an update call is recieved by the document
However, this behaviour also occurs even when the field is clearly populated
On line number 19 of the GET Response we can see 68e642bd0006010fc35e which, according to my Appwrite.json is a two-way key for a relationship attribute
If you guys need to take a look, entire appwrite.json is available on https://github.com/AOSSIE-Org/Resonate-Backend/blob/dev/appwrite.json
@Jake Could you please take a look at this? Prod is broken since last night and I need to get this fixed asap
Recommended threads
- Auth not working on expo react native
I'm trying to launch a development server with expo go and appwrite as a backend. On my windows pc, I've got a local docker instance of appwrite running as my b...
- createMembership is not sending email wi...
Parameters should be correct. Account and Membership are successfully created. I have a next.js project with localhost origin allowed. I checked spam etc. i...
- Bulk delete failed with 401
- I created a transaction to bulk delete rows in a table has `done` equal `true` follow documentation. But when run, it returns 401 unauthorized error as screen...