
Attached code.
I've attached debug logs too.The ID doesn't exist in the DB.

Could this be an issue with your relationships maybe? If you remove those from the data object what happens?

I think that is likely the case, yes

But i'm not sure why

The way I save is by manually creating the nested objects then creating the company using the ID

i'm on an older appwrite, but I had this issue for a while now

and i've pdated with no sucess

Could you remove relationships and add back 1 by 1 to see which one is the offender?

I know relationships are in beta and not fully there, which could also be the issue.
Recommended threads
- how do i refer to the Document ID in a l...
file 1: const response = await database.listDocuments(dbId, colId, queries); file 2: const response = await databaseService.vnmDocument(dbId, colId, [Query.equa...
- Python: Appwrite Cloud, Server Function ...
Im getting the following error on appwrite cloud. Error creating document: AppwriteException('request cannot have request body') python requirements.txt -> appw...
- I got 401 wrong
