Relationship attribute showing "n/a" even it's linked to related document in Appwrite cloud console.
- 0
- Databases
- Cloud
I've two collections, "products" and "collections" (name of the collection in database) , products collection has one way relationship with "collections" collection, I've updated the data means I linked the product with related collection, but its showing "n/a", but I can see the related document in data tab of the product, and I can't access the data from my code, since its showing n/a.
First I thought it's because of one way relationship, but I have one way relationship in other collections, there I can see the data in the attribute.
Relationship attribute showing "n/a" even it's linked to related document in Appwrite cloud console.
<@462046107556511744> please check this
Bro that is an old issue I have also created issue here - https://github.com/appwrite/appwrite/issues/6944
Change attribute name from "collection" to other word.
Let me try that<@895918646877122561>
<@462046107556511744> now its stuck
Recreate the collection
if the collection has lot of documents and then this happens, I'll loose all the data. currently I can do that, but in future this happens that will be a problem.
Can you ignore the stuck attribute?
I try to create another attribute as replacement, it's failed.
Check list collection API response and look at the attribute
<@462046107556511744> this ?
No the JSON response
tried to store the data, still same and for category attribute, which got stuck, I'm getting unknown attribute.
undefined
What do you mean? Share the JSON please
I'm using it in flutter, I'm not getting any data and now documents are not linking in the console
<@462046107556511744> its showing null in category attribute
@Raja is your error solved ?? I am facing the same issue
Me too, @Steven is this related to 1.6? I'm on self hosted and cannot create it without n/a
Recommended threads
- Cloud function deployment failures
When I run appwrite push functions, select the function I want to deploy, confirm with a YES, is starts deploying but goes into error. I need to repeat the ste...
- 1:1 relationship doesn’t sync after re-a...
Hi, I’m trying to use a two-way one-to-one relationship. It works fine when I create a record with the relationship set, and it also works when I unset it. But ...
- Upsert with setting permissions
Hi there, I am using self-hosted appwrite v1.7.4 and trying to use the bulk update stuff that was released with 1.7.x. Unfortunally I found that there is an ser...