Rank 3: Container
I don't understand why is the meaning of this error
In my Appwrite function, when i execute it, i get this error in my try/catch request cannot have request body any idea of the root cause ?
log(`I get this: ${payload.tournamentId}`); // show the expected id
const tournament = await databases.getDocument( process.env.APPWRITE_DATABASE_ID, // < it's setup in the settings sections "tournaments", payload.tournamentId // < it's exist in my collection "tournaments" );// 🔥 Crash here "responseBody": "{\"success\":false,\"message\":\"request cannot have request body\"}",
log(`I didn't get this: ${tournament}`); I'm using appwrite cloud