Back

[SOLVED] Unable to edit data of document when Relationship is given

  • 1
  • Web
  • Cloud
k_vasen
31 Dec, 2023, 08:28

I have Created users collections and one user document. At first I didn't created any relationships. I could able to edit the data for that document. Secondly I created Products collections and created two-way relationships with users. After that I tried to edit the data of user. When I clicked Data tab javascript is throwing this error

TL;DR
The user was unable to edit the data of a document when a relationship was given. Initially, the user suspected maintenance as the cause, but later realized that the issue was due to null values not being handled properly. The user suggested creating a GitHub issue to address this. The problem was solved, possibly due to the Appwrite cloud maintenance being completed.
Drake
31 Dec, 2023, 18:09

Hmm maybe we need to handle nulls better... Would you please create a GitHub issue for this?

k_vasen
31 Dec, 2023, 19:18

Certainly I came to know that appwrite cloud is under maintenance. This issue may be because of that. Idk but it's working fine now.

Drake
31 Dec, 2023, 21:47

Oh NVM then. Maybe it was the maintenance

D5
31 Dec, 2023, 22:38

Can I mark this as solved then?

k_vasen
3 Jan, 2024, 17:38

Yeah. Thank you for your responses

D5
3 Jan, 2024, 18:33

[SOLVED] Unable to edit data of document when Relationship is given

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