Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error accessing cloudant db URL from node #23

Open
rojagit opened this issue Aug 9, 2017 · 1 comment
Open

Error accessing cloudant db URL from node #23

rojagit opened this issue Aug 9, 2017 · 1 comment

Comments

@rojagit
Copy link

rojagit commented Aug 9, 2017

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

@nawolyniec
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants