add-cors-to-couchdb icon indicating copy to clipboard operation
add-cors-to-couchdb copied to clipboard

Error accessing cloudant db URL from node

Open rojagit opened this issue 7 years ago • 1 comments

Hi, I get this error accessing my db URL in cloudant: (URL has been edited)

$ add-cors-to-couchdb https://XXX83e-5af3-41de-b499-dae33fb39b69-bluemix.cloudant.com/DBNAME Error: status 400 {"error":"illegal_docid","reason":"Only reserved document ids may start with underscore."}

at /home/cos/.npm-global/lib/node_modules/add-cors-to-couchdb/index.js:45:13
at process._tickCallback (internal/process/next_tick.js:109:7)

Error: status 400 {"error":"illegal_docid","reason":"Only reserved document ids may start with underscore."}

I even tried with user & Anon Full Access

The URL works fine in browser

rojagit avatar Aug 09 '17 16:08 rojagit

I got the exact same problem, any idea how to solve it?

nawolyniec avatar Oct 16 '23 15:10 nawolyniec