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
- Confused about the pricing. Can I get so...
I 'm really confused about the pricing here. I've got the pro plan and i have 4 projects open. As you can see, I'm nowhere near my usage limits with these proje...
- Request for JWKS Endpoint and OIDC Disco...
Hey Appwrite Team, Do you have plans to support JWKS and a well-known OIDC discovery endpoint? This would let us verify Appwrite JWTs in other services using st...
- Cloud 500 error