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
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- Create a new paid tier
Current pricing seems reasonable enough about what is someone getting for 25$. But for some people most of these resouces are getting wasted. Like the bandwidt...
- [Bug] Appwrite Auth User Prefs
User prefs are decoded as blank although there are plenty of data and add preference button not working in this case