Table Configuration generate 404 when using BASE_PATH= #5265

Closed
opened 2025-12-29 19:26:03 +01:00 by adam · 1 comment
Owner

Originally created by @ziggekatten on GitHub (Aug 31, 2021).

Originally assigned to: @thatmattlove on GitHub.

NetBox version

v3.0.0

Python version

3.9

Steps to Reproduce

Set up an Netbox instance that uses the BASE_PATH variable

  1. Click on "Devices"
  2. Click on "Configure Table"
  3. Select any value in "Available Columns" and click "Add"

Expected Behavior

The column should be added to "Selected Column"

Observed Behavior

"Error Updating Table Configuration, 404 Page not found" in a red box.

This also happens when pressing reset button.

Using developer tools in Chrome i can see that URL is missing my BASE_PATH (netbox-dev). in effect, netbox is running at: https://nb.local.dev/netbox-dev/

The URL that generates the 404 are: https://nb.local.dev/api/users/config/

But should be: https://nb.local.dev/netbox-dev/api/users/config/ in essence missing the BASE_PATH

Originally created by @ziggekatten on GitHub (Aug 31, 2021). Originally assigned to: @thatmattlove on GitHub. ### NetBox version v3.0.0 ### Python version 3.9 ### Steps to Reproduce Set up an Netbox instance that uses the BASE_PATH variable 1. Click on "Devices" 2. Click on "Configure Table" 3. Select any value in "Available Columns" and click "Add" ### Expected Behavior The column should be added to "Selected Column" ### Observed Behavior "Error Updating Table Configuration, 404 Page not found" in a red box. This also happens when pressing reset button. Using developer tools in Chrome i can see that URL is missing my BASE_PATH (netbox-dev). in effect, netbox is running at: https://nb.local.dev/netbox-dev/ The URL that generates the 404 are: https://nb.local.dev/api/users/config/ But should be: https://nb.local.dev/netbox-dev/api/users/config/ in essence missing the BASE_PATH
adam added the type: bugstatus: accepted labels 2025-12-29 19:26:03 +01:00
adam closed this issue 2025-12-29 19:26:03 +01:00
Author
Owner

@jeremystretch commented on GitHub (Aug 31, 2021):

@thatmattlove could you take a look at this? Seems like the API request for the table config form is unaware of BASE_PATH. There may be some other instances of this elsewhere in the application too.

@jeremystretch commented on GitHub (Aug 31, 2021): @thatmattlove could you take a look at this? Seems like the API request for the table config form is unaware of `BASE_PATH`. There may be some other instances of this elsewhere in the application too.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5265