
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
- Relationship opt-in?
Hi! I'm trying to understand opt-in relationship population. I'm listing rows as follows: `(...).listRows({ databaseId: this.databaseId, tableId: this.tableId, ...
- Appwrite messaging api error
```=== Push Notification Function Started === Endpoint: https://fra.cloud.appwrite.io/v1 Project: 6899062700398ffeae4f Database: threed-dating-db Notification f...
- ๐ Bug Report: Sign in with Apple/Google...
Environment: - Appwrite version: 1.8.0-RC2 (self-hosted) - Working version: 1.8.0 (Appwrite Cloud) - Platform: React Native - React Native version: 0.74.5 - re...
