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
- Our Appwrite organization is suspended
Please give support regarding this , no app is working now , please solve my issue and give support , no one is replying in message section or email.
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...