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

dcim.choices() throws 403 #122

Closed
abringenberg opened this issue Dec 6, 2018 · 0 comments
Closed

dcim.choices() throws 403 #122

abringenberg opened this issue Dec 6, 2018 · 0 comments

Comments

@abringenberg
Copy link
Contributor

abringenberg commented Dec 6, 2018

The new method choices() of the app object throws pynetbox.core.query.RequestError: The request failed with code 403 Forbidden: {'detail': 'Authentication credentials were not provided.'}.

Adding token and private_key from self.api to Request of api.py:48 solves the problem.

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

2 participants