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)
node-red crashed...all my flows disappeared! 2 Answers
How to remove multiple documents using Cloudant in Node-RED 2 Answers
Node-RED Cloudant input node - Search Index 3 Answers
How to delete multiple documents using Cloudant in Node-RED 1 Answer
How do I retrieve Attachments in Cloudant in Node-Red 1 Answer