cloudant / nodejs-cloudant

Cloudant Node.js client library
Apache License 2.0
255 stars 90 forks source link

Update README to use url in preference to account #435

Closed ricellis closed 3 years ago

ricellis commented 3 years ago

Bug Description

New instances of cloudant do not use the account name as the default username and in fact the preferred URL is no longer cloudant.com. While the account option init still works under some circumstances we shouldn't highlight it as the easiest way because it fails for newly created things unless a username is also specified.

1. Steps to reproduce and the simplest code sample possible to demonstrate the issue

  1. Create a new IBM Cloud Cloudant instance
  2. Create credentials
  3. init this library by following Getting started

2. What you expected to happen

Requests to succeed

3. What actually happened

401 unauthorized

Environment details