Skip to content
Back

Relation not showing collections list

  • 0
  • Self Hosted
Pabin Dhami
9 Nov, 2025, 06:19

When i'm trying to create new relationship attribute it is showing 0 collections list. I'm on version 1.7.4

TL;DR
Developers are discussing an issue where collections are not showing in the list when trying to create a new relationship attribute. The solution suggested is to ensure that all collections are using the latest version (1.4+) and have a manually created attribute aside from the default ones. Refreshing the page and checking for the required string ID attribute can also help in resolving the problem.
Devika
9 Nov, 2025, 06:31

It might be happening because the other collection might not have the required string ID attribute (max size: 36). Try adding that and it should then appear. Sometimes a quick refresh helps too.

Devika
9 Nov, 2025, 06:32

Please try this (if you haven't done it yet) and let me know the results

Pabin Dhami
9 Nov, 2025, 06:37

how to do that?

Devika
9 Nov, 2025, 07:23

Yes it is. But you should always have one manually created attribute other than those default ones

Devika
9 Nov, 2025, 07:23

Then only your table will be considered valid and will appear in the drop-down

Devika
9 Nov, 2025, 07:28

Look, since my other two tables (with which I want to create the relationship of my current table) have the additional attribute except those default ones, they're being listed in the drop-down

Pabin Dhami
9 Nov, 2025, 07:31

yes i've attributes in those collections

Pabin Dhami
9 Nov, 2025, 07:31

it was working fine in previous version

Pabin Dhami
9 Nov, 2025, 07:32

but not showing up in my this version, what version are you on?

Pabin Dhami
9 Nov, 2025, 07:34

from the image i'm sure you and i are on different version

Devika
9 Nov, 2025, 07:38

Yes. I'm on latest version

Devika
9 Nov, 2025, 07:41

Can you share the attribute screenshot (which you're having in your collection/table)?

Devika
9 Nov, 2025, 07:46

And btw, are you using an older version? Like the one below 1.4?

Pabin Dhami
9 Nov, 2025, 08:38

these are the attributes

Devika
9 Nov, 2025, 10:39

Oh ok. It seems you're using an older version, which is why the tables aren't being listed. Can you try using a bit newer version? 1.4+?

Pabin Dhami
9 Nov, 2025, 10:49

i'm on 1.7.4

Devika
9 Nov, 2025, 10:49

And tell me one thing, is the Document Security enabled for your collections? If it's not, the options won't appear

Devika
9 Nov, 2025, 10:50

And also keep in mind that both of your collections are in same db

Pabin Dhami
9 Nov, 2025, 10:51

yes both are in same db, and just enabled the security option too but still not working

Pabin Dhami
9 Nov, 2025, 11:04

legacy? what does that mean? i think it is a document

Devika
9 Nov, 2025, 11:20

If none of above fixes are working, I would suggest you switching to the latest version. It handles everything properly and your collections will appear too. I know this process is a bit long but it will work

Devika
9 Nov, 2025, 11:29

Actually, I am using the latest version. So it's a bit tricky for me to figure out the cause. But as per the information I have, it's ideal to switch to the latest version in your case

Pabin Dhami
10 Nov, 2025, 04:09

Nothing worked for me and upgrading the whole appwrite was not in my bucket list so i just created relationship attribute using CLI and also works with node-appwrite too

Devika
10 Nov, 2025, 10:05

Sorry I couldn't help you out to fix that.. anyways, that's really good if now it is working 👍

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