Cisco EoX API netbox-cisco-support #14355
ravinlashkari
started this conversation in
General
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello All,
I am getting below error while trying to install Cisco EoX Plugins " python3 manage.py sync_eox_data"
Any idea how to resolve this "access token" error
Traceback (most recent call last):
File "/opt/netbox-3.6.3/netbox/manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/opt/netbox-3.6.3/venv/lib64/python3.9/site-packages/django/core/management/init.py", line 442, in execute_from_command_line
utility.execute()
File "/opt/netbox-3.6.3/venv/lib64/python3.9/site-packages/django/core/management/init.py", line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/netbox-3.6.3/venv/lib64/python3.9/site-packages/django/core/management/base.py", line 412, in run_from_argv
self.execute(*args, **cmd_options)
File "/opt/netbox-3.6.3/venv/lib64/python3.9/site-packages/django/core/management/base.py", line 458, in execute
output = self.handle(*args, **options)
File "/opt/netbox-3.6.3/venv/lib64/python3.9/site-packages/netbox_cisco_support/management/commands/sync_eox_data.py", line 292, in handle
api_call_headers = self.logon()
File "/opt/netbox-3.6.3/venv/lib64/python3.9/site-packages/netbox_cisco_support/management/commands/sync_eox_data.py", line 282, in logon
api_call_headers = {'Authorization': 'Bearer ' + tokens['access_token'], 'Accept': 'application/json'}
KeyError: 'access_token'
Beta Was this translation helpful? Give feedback.
All reactions