directus-extension-computed-interface icon indicating copy to clipboard operation
directus-extension-computed-interface copied to clipboard

Issue with relational calculated field

Open LevelUpGit opened this issue 2 years ago • 1 comments

When using relational ASUM(a, b) we are getting "Failed to load resource: the server responded with a status of 400 ()", we can't figure it out, what is causing it. We are using 10.2.0 version of Directus.

Update: We have modified name of id column, and that is what the problem was. Your name of ID column must be ID.

LevelUpGit avatar Jun 19 '23 09:06 LevelUpGit

Yes, the primary column is currently hard-coded by id. I don't see any reason to keep it that way so it will be changed to adapt the table's primary key.

duydvu avatar Jun 23 '23 02:06 duydvu