Skip to content

Conversation

@markkuleinio
Copy link
Contributor

Fixes: #718

Request.get_version() now includes the authorization token (if present in the API object) when calling NetBox /api/, to get the NetBox API version without causing 403 error in the NetBox reverse proxy and Django logs.

@jeremystretch jeremystretch requested review from a team and bctiemann and removed request for a team December 17, 2025 18:45
@markkuleinio
Copy link
Contributor Author

I sense v2 token-compatible pynetbox coming out soon, so I hope this PR could get reviewed before considering releasing new version. Thanks!

@bctiemann bctiemann merged commit 8d36dc6 into netbox-community:master Jan 8, 2026
9 checks passed
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

Successfully merging this pull request may close these issues.

nb.version causes 403 with a valid token

2 participants