You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the manage-bulk-documents action, it fails because the query sent to Cloudant is not a JSON object. The action expects a JSON object with a docs key that contains an array of documents and so does Cloudant. However, the action only sends the array without the container object and the docs key. So what Cloudant receives is:
When I use the
manage-bulk-documents
action, it fails because the query sent to Cloudant is not a JSON object. The action expects a JSON object with adocs
key that contains an array of documents and so does Cloudant. However, the action only sends the array without the container object and thedocs
key. So what Cloudant receives is:while it expects:
The action should retain the container object with the
docs
key to ensure that what is passed to Cloudant is correct.Steps to reproduce
Send the
manage-bulk-documents
action a query like:It will fail with the error indicated below.
Workaround
A workaround is to send the action an object like this:
Error details
The text was updated successfully, but these errors were encountered: