Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Credentials not provided #163

Open
bnicoson opened this issue Feb 6, 2025 · 4 comments
Open

Getting Credentials not provided #163

bnicoson opened this issue Feb 6, 2025 · 4 comments

Comments

@bnicoson
Copy link

bnicoson commented Feb 6, 2025

I've tried different tokens and users, but get the same result. Followed the steps provided with no change.

Traceback (most recent call last):
  File "/home/bnicoson/Device-Type-Library-Import/./nb-dt-import.py", line 54, in <module>
    main()
  File "/home/bnicoson/Device-Type-Library-Import/./nb-dt-import.py", line 17, in main
    netbox = NetBox(settings)
  File "/home/bnicoson/Device-Type-Library-Import/netbox_api.py", line 28, in __init__
    self.verify_compatibility()
  File "/home/bnicoson/Device-Type-Library-Import/netbox_api.py", line 50, in verify_compatibility
    version_split = [int(x) for x in self.netbox.version.split('.')]
  File "/home/bnicoson/Device-Type-Library-Import/venv/lib/python3.10/site-packages/pynetbox/core/api.py", line 109, in version
    ).get_version()
  File "/home/bnicoson/Device-Type-Library-Import/venv/lib/python3.10/site-packages/pynetbox/core/query.py", line 187, in get_version
    raise RequestError(req)
pynetbox.core.query.RequestError: The request failed with code 403 Forbidden: {'detail': 'Authentication credentials were not provided.'}

@lukify85
Copy link

lukify85 commented Feb 7, 2025

Same issue. NetBox v4.1.11

@MaxPower654
Copy link

Also here, 4.2.3

@lmuroot
Copy link

lmuroot commented Feb 12, 2025

same issue with 4.2.3

@adamvance
Copy link

Edit the requirements.txt with version 7.3.4 for pynetbox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants