Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

server_admin error #32

Open
BigBlueHat opened this issue May 25, 2016 · 2 comments
Open

server_admin error #32

BigBlueHat opened this issue May 25, 2016 · 2 comments

Comments

@BigBlueHat
Copy link
Contributor

I've done npm i and tweaked just the cloudant bits in config.json as well as setup an API key/secret with _admin privs on both the articles and feeds databases.

But I get this when running:

$ node birdreader.js
   info  - socket.io started
Checking feeds database
Listening on port 3000
Database error - server_admin access is required for this request

I've double checked the _security objects and confirmed that the API key is setup as an _admin.

Is it hitting a different database that needs to be writeable via this key?

Cheers!
🎩

@glynnbird
Copy link
Owner

Hi @BigBlueHat. I haven't look at this repo for two years, but I thought I'd blow the dust off today. If you pull the latest code it seems to work against Cloudant or CouchDB.

It needs two databases feeds and articles and it creates design documents when it first starts, hence the admin access. Let me know if you get it working!

@salus-sage
Copy link

I'm having the same problem as @BigBlueHat i'm running the latest code from master branch, and verified admin credentials with no luck.
Database error - server_admin access is required for this request

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

No branches or pull requests

3 participants