Hi Steve. Upon further investigation, I found a spot in my code where I was not using the username and password and that explains the error I was getting.
Thanks again! On 2018-09-18 1:16 PM, Steven Githens wrote: > Hi Joseph, > > What URL is your dataloader hitting to the AWS cloud, does it have a > username/password in it? By default your CouchDB instance in AWS is going to > get a username/password that you have to use for each request, and I beleive > you need to specify it using Basic Auth... which I don't have an example of > at the moment... it either goes in the URL or in the HTTP headers. > > The autogenerated username/password should be in the file: > aws/modules/deploy/secrets/dev-sgithens.gpii.net-secrets.yml. But with your > account name. > > Cindy or an Ops person might want to chime in, but it sounds like this is > your problem. > > Cheers, > Steve > >> On Sep 18, 2018, at 9:28 AM, Joseph Scheuhammer <[email protected]> wrote: >> >> All, >> >> I've encountered an error condition when running the dataloader with >> AWS. When attempting to update the "_design/view" document, the >> response is: >> '{"id":"_design/views","error":"unauthorized","reason":"You are not a db >> or server admin."}'. >> >> Note that this only occurs when running the dataloader with AWS. This >> does not happen when testing locally on a VM, nor when CI runs in Jenkins. >> >> I've searched online to get more information, but I'm not finding a >> lot. This stackoverflow article suggests using POST instead of PUT, but >> I am already using POST (see: >> https://stackoverflow.com/questions/22805201/unable-to-add-documents-into-db-with-user-you-are-not-a-server-admin). >> >> I'm searching the CouchDB documentation >> (http://docs.couchdb.org/en/stable/), but am drawing a blank. >> >> Does anyone know what this means? >> >> -- >> ;;;;joseph. >> >> 'Call me hobophobic, but I don't think two vagrants should be allowed to >> marry.' >> - J. Tiedrich - >> >> _______________________________________________ >> Architecture mailing list >> [email protected] >> https://lists.gpii.net/mailman/listinfo/architecture -- ;;;;joseph. 'Call me hobophobic, but I don't think two vagrants should be allowed to marry.' - J. Tiedrich - _______________________________________________ Architecture mailing list [email protected] https://lists.gpii.net/mailman/listinfo/architecture
