
I have issue with PATCH request (using the native http library for esp32.) Going trought postman I get the same error..
I constantly get: {"message":"The document payload is missing.","code":400,"type":"document_missing_payload","version":"0.10.51"}

The payload should have the data inside a data
object, something like this:
String payload "{\"data\": {\"state\":\""+ stateValue +"\"} }"
https://appwrite.io/docs/client/databases?sdk=rest-default#databasesUpdateDocument

Thank you again Binyamin!

that was the issue 🤦‍♂️

[SOLVED] Raw use of document update API
Recommended threads
- Permissions for bulk operation
Hi team, I have a question: “In the databases.createDocuments bulk API, can I set document-level permissions? If yes, how exactly should I include the permissio...
- Help understanding what "upgrade" and "m...
Hello, I'm currently running appwrite with k8s (well, a dirty "hack" of converting each container to a deployment). And I have some trouble understand what "upg...
- hi I’m reaching out with an urgent req...
hi I’m reaching out with an urgent request regarding my account. My organization’s access has been restricted due to a $90 unpaid invoice, and I’m currently s...
