Back

Error 500 when I selected relationships attributes

  • 0
  • Databases
  • Flutter
pitcairn1987
13 Sep, 2023, 13:17

Hi, I have one Relationship attribute in my collection. When i fetch without using Query.Select() or Query.Select() with specified attributes except my relationship attribute, everything is ok. But when I use something like this: Query.select("title", "myrelationshipattr") I get an error

TL;DR
User is experiencing an Error 500 when selecting relationship attributes. The issue is that queries on relationships are not currently supported. The user has provided logs and mentions that "refGrave" is the specific attribute causing the problem. The solution is to avoid using Query.Select() or Query.Select() with relationship attributes in the query.
pitcairn1987
13 Sep, 2023, 13:19

Here are the logs. "refGrave" is my attribute

Drake
13 Sep, 2023, 20:14

queries on relationships are not supported at the moment

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more