Netbox's listing page, specifically device listing page, has a button up top on the right labelled "Configure table". This button shows a modal dialog box where users can pick and choose the fields to be displayed/suppressed on the [device] listing page. However, this dialog box doesn't work. When a user picks their favorite fields and click on "submit", they end up getting an error "Error Updating Table Configuration: No API path defined for configuration form."
I did some chrome dev-tools debugging, and the failure seems to be happening when the javascript looks for an attribute called 'data-url' on the form.
let e = t.currentTarget,
n = e.getAttribute("data-url");
if (n == null) {
Sn(
"danger",
"Error Updating Table Configuration",
"No API path defined for configuration form."
)
.show();
Has anyone encountered this error before?