On Oct 15, 2015, at 10:47 AM, Todd Freese <[email protected]<mailto:[email protected]>> wrote:
curl -X GET -H "Authorization: Basic dG9kZGZyZWVzZTpjd2Zjd2Y=" -H "Content-Type: application/json" https://db.mydb.com:4984/mydb/7E28B6F9-0D49-4452-9E7F-8B8D5F2574E7 FYI: It's easier to use the --user and/or --password flags to curl; that way you don’t have to work out the base64 encoding. Check the SG logs. If you got the authentication right, the username will show up in square brackets at the end of the “HTTP:” log line showing the request. If it does, then the problem is that the user doesn’t have access to any of the channels that document is in. See the “Troubleshooting Channels<http://developer.couchbase.com/documentation/mobile/1.1.0/develop/guides/sync-gateway/channels/troubleshooting/index.html>” documentation for help. —Jens -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/FF238139-F727-43C8-9C43-31C058611DAE%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
