i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document id which i want to delete... why does it want to access or check the attributes?
return await databases.deleteDocument( DATABASE_ID, COLLECTION_IDS.tournaments, params.tournamentId );
that's the excact error: Invalid query: Attribute not found in schema: tournamentId
also tested it in the cloud, i get the same error by selecting the document and try to delete it. the related documents (relation ship attribute) are getting deleted correctly but not the main document i want.
Recommended threads
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- apple exchange code to token
hello guys, im new here 🙂 I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...