Skip to content
Back

Creating a relationship with nested objects is not working as the documentation says

  • 0
  • Databases
  • Web
  • Cloud
Youssef Tarek
18 Sep, 2025, 12:12

{ "data": { "name": "DiDi", "type": "Software Development", "userJobs": [{ "$id": "68cbf1e2003612fb13ca", "jobTitle": "hr test from youssef", "applyUrl": "https://yaleeq.xyz", "location": "egypt", "type": "interniship", "yaleeq": true, "postedAt": "2025-09-18T21:00:00.000Z", "jobBody": { "$id": "68cbf1e200361fee6777", "jobBody": "<p>efqwfewqew</p>" } }], "companiesContacts": [] } }

Why smth like this is not working i am using updateDoument() all i am getting is {"message":"Server Error","code":500,"type":"general_unknown","version":"1.8.0"} i am sure the schemas are right and they are all two way relations the access is any can create , update , read so no problem with access idk what is the problem

TL;DR
Developers are having trouble creating a relationship with nested objects. They are using updateDocument(), but only getting a server error. The schemas are correct and the access permissions allow any action. It's unclear what the issue is despite everything being configured correctly.
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