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
- RowList: The value of total is coming as...
RowList: The value of total is coming as a String, so it throws an error because it’s not parsed into an int. Error: TypeError: \"37\": type 'String' is not a ...
- Auth broken after update from 1.8.0 to 1...
So ive been having issues creating, deleting or updating users on my appwrite instance after i updated from 1.8.0 to version 1.9.0. When trying to create a user...
- User Blocked - False Positive
Today I tried to log in to my cloud console and it said the user is blocked and I didn't even receive any email regarding this like what kind of violation is my...