I am trying to update a document (row) in cloundant from node-red and it is not updating the row. I have set the _id and _rev values. What more needs to happen?
Here is the data going into the Cloudant node: { "_id": "nextRain1", "_rev": "5-5551ca09a8f80ed8aca32b9e4f3165ae", "nextRainDate": "2015-02-26T08:00:00.000Z", "probability": 0.64 }
Here is what the document looks like in Cloudant: { "_id": "nextRain1", "_rev": "5-5551ca09a8f80ed8aca32b9e4f3165ae", "nextRain": "Thu Feb 26 2015 08:00:00 GMT+0000 (UTC), Precip Propability = 0.94", "test": "TEST" }
How are you sending the data to the Cloudant node? Is it a string, an object?
I dont think you should send the rev data... When you update a document, the rev will be changed (ie updated with a new version)
how to modify settings.js (app/node_modules/node-red/settings.js)nodered 2 Answers
Is interface to internet of things dashboard broken? 2 Answers
My application wont start after trying to enable security 2 Answers
Cloudant Node in Node-RED? 2 Answers
How to delete multiple documents using Cloudant in Node-RED 1 Answer