PouchDB 400 bad request
<p>Hi can you help identify what this pouchDB error means ?</p>

<p>Thanks</p>

<p>controller.js:</p>

<pre><code> pouchDBservice.addToExistingUser(userr._id, 'favoritePro', favPro);
</code></pre>

<p>services.js:</p>

<pre><code>      addToExistingUser = function (docId, key, value) {
            //console.log(docId);
            usersDatabase
                .get(docId)
                .then(function (doc) {
                    doc[key] = value;
                    return usersDatabase.put(doc, docId, doc._rev);
                })
                .then(function () {
                    console.log('added field: ' + key + ' to doc ' + docId);
                })
                .catch(function (err) {
                    console.log("error from addToExistingUser:");
                    console.log(JSON.stringify(err));
                });

        };
</code></pre>

<p>I get this error in the console:</p>

<pre><code>louisromain.cloudant.com/boardline_users/_bulk_get?revs=true&amp;attachments=true&amp;_nonce=1454421483935:1
POST https://louisromain.cloudant.com/boardline_users/_bulk_get?revs=true&amp;attachments=true&amp;_nonce=1454421483935
400 (Bad Request)
</code></pre>