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
- SSL certificate issuance failed:
Domain verifies but SSL cert fails, tried different subdomains like .api and .aw, used cname and CAA, no prior CAA existed on website, tried Multiple CAAs at on...
- Password check in function
Hi, is there any way now for checking if the users password is correct in a function? I am creating a delete user function and before deleting I would like to c...
- Deployment fails after 15+ minutes: "Wai...
Hi, I'm Jayden. My email is jaydthom@haverford.org, and i'm having persistent deployment failures with my Next.js project. What happens: Push to GitHub trigg...