TypeError exception raised when attempting to retrieve /api/users/tokens/ endpoint as non-authenticated user #6782

Closed
opened 2025-12-29 19:45:21 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Aug 8, 2022).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.2.7

Python version

3.8

Steps to Reproduce

  1. Make a GET request for the /api/users/tokens/ endpoint as a non-authenticated user.

Expected Behavior

NetBox should return a 401 Not Authorized response.

Observed Behavior

A TypeError exception is raised.

Originally created by @jeremystretch on GitHub (Aug 8, 2022). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.2.7 ### Python version 3.8 ### Steps to Reproduce 1. Make a GET request for the `/api/users/tokens/` endpoint as a non-authenticated user. ### Expected Behavior NetBox should return a 401 Not Authorized response. ### Observed Behavior A TypeError exception is raised.
adam added the type: bugstatus: accepted labels 2025-12-29 19:45:21 +01:00
adam closed this issue 2025-12-29 19:45:21 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6782