cskoglun / ciscodnacbackupctl

Other
15 stars 2 forks source link

Error while calling ciscodnacbackupctl using the v2 URL #21

Closed abhi093 closed 1 year ago

abhi093 commented 1 year ago

hello Developer,

We are receiving the below error while using the tool ciscodnacbackupctl for URL /dna/system/api/v2/auth/token. our DNA-C is now on v2 but the tool smoehow not using the v2 url to call the backup files and using the v1

Please modify the tool to use v2 URL ( /dna/system/api/v2/auth/token)

Error: Max retries exceeded with url: /dna/system/api/v1/auth/token (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f3aae321cd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

abhi093 commented 1 year ago

@robertcsapo @cskoglun

abhi093 commented 1 year ago

@carsten@anspach.de

robertcsapo commented 1 year ago

The latest version and documentation for Cisco DNA Center still uses /v1/ https://developer.cisco.com/docs/dna-center/#!authentication-api