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
- Increase the Limit for Querying Nested R...
I ran into problem when I upgrade my Appwrite self-hosted from 1.7.4 to 1.8.0. When I query election.position.candidates.votes, it doesn’t return any data. I fo...
- Trigger Function By Event
Is it normal for an event to take several minutes to trigger the function? I created a user multiple times (Create → Delete → Create → Delete, etc.). Only one ...
- Can not Create, Update or Delete anythin...
In the appwrite console I can read tables just fine, but any action times out. If I create a new project that does seem to work and I can do everything just fin...