Skip to content

Reconnecting to existing db fails intermittently #2

@oneillal

Description

@oneillal
Found local VCAP_SERVICES
Traceback (most recent call last):
  File "main.py", line 105, in <module>
    db = client.create_database(CONFIG['db_name'], throw_on_exists=False)
  File "/usr/local/lib/python2.7/dist-packages/cloudant/client.py", line 230, in create_database
    new_db.create()
  File "/usr/local/lib/python2.7/dist-packages/cloudant/database.py", line 348, in create
    resp.status_code, self.database_url, resp.text
cloudant.error.CloudantDatabaseException: Invalid database name during creation. Found: https://32c99717-667e-4413-9866-27be7c7eb9be-bluemix.cloudant.com/33e35b349486

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions