Associating a cluster to a device triggers a server error #326

Closed
opened 2026-04-05 16:26:03 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @rsenna on 2/18/2026

NetBox Edition

NetBox Community

NetBox Version

NetBox Cloud v4.5.1

Python Version

3.12

Steps to Reproduce

This is actually an issue with NetBox Cloud v4.5.1.
Sorry if this is not the right channel to communicate NetBox Cloud errors - I'm just a free user.

I notice a random issue when playing around with NetBox Cloud - using it to map my homelab.

I created a simple Cluster:

Name: Main
Type: Proxmox
Status: Active
Scope: Home (Location)

When I try to associate an existing device to it, I get the following server error (markdown mockup, content is verbatim):

Caution

Server Error

There was a problem with your request. Please contact an administrator.


The complete exception is provided below:

<class 'KeyError'>

'location'

Python version: 3.12.3
NetBox version: 4.5.1
Plugins: 
  nbc_auth_extensions: 1.20.2
  nbc_eventsink_extensions: 1.8.4
  nbc_requestmetric_extensions: 1.10.1
  nbce_common: 2.0.6
  netbox_branching: 0.8.1
  netbox_changes: 0.4.3
  netbox_labs_console: 2.0.0

The request which yielded the above error is shown below:

POST https://ghet3177.cloud.netboxapp.com/dcim/devices/11/edit/?return_url=/dcim/devices/

If further assistance is required, please post to the NetBox discussion forum on GitHub.

To be clear, in spite of the "location" KeyError, issue does not seem to be related to Locations at all.

Expected Behavior

It should be possible to associate devices to a cluster using NetBox Cloud v4.5.1

Observed Behavior

A system error was raised in that case.

*Originally created by @rsenna on 2/18/2026* ### NetBox Edition NetBox Community ### NetBox Version NetBox Cloud v4.5.1 ### Python Version 3.12 ### Steps to Reproduce > **This is actually an issue with NetBox Cloud v4.5.1.** > Sorry if this is not the right channel to communicate NetBox Cloud errors - I'm just a free user. I notice a random issue when playing around with NetBox Cloud - using it to map my homelab. I created a simple Cluster: ``` Name: Main Type: Proxmox Status: Active Scope: Home (Location) ``` When I try to associate an existing device to it, I get the following server error (markdown mockup, content is verbatim): > [!CAUTION] > > ### Server Error > > There was a problem with your request. Please contact an administrator. > > --- > > The complete exception is provided below: > ``` > <class 'KeyError'> > > 'location' > > Python version: 3.12.3 > NetBox version: 4.5.1 > Plugins: > nbc_auth_extensions: 1.20.2 > nbc_eventsink_extensions: 1.8.4 > nbc_requestmetric_extensions: 1.10.1 > nbce_common: 2.0.6 > netbox_branching: 0.8.1 > netbox_changes: 0.4.3 > netbox_labs_console: 2.0.0 > ``` > The request which yielded the above error is shown below: > ``` > POST https://ghet3177.cloud.netboxapp.com/dcim/devices/11/edit/?return_url=/dcim/devices/ > ``` > If further assistance is required, please post to the [NetBox discussion forum](https://github.com/netbox-community/netbox/discussions) on GitHub. To be clear, in spite of the "location" `KeyError`, issue does not seem to be related to Locations at all. ### Expected Behavior It should be possible to associate devices to a cluster using NetBox Cloud v4.5.1 ### Observed Behavior A system error was raised in that case.
MrUnknownDE added the pending closuretype: bugpending closurepending closurenetboxstatus: revisions neededpending closurepending closurepending closurepending closuretype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugtype: bugnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxnetboxstatus: revisions neededstatus: revisions neededstatus: revisions neededstatus: revisions neededstatus: revisions neededstatus: revisions neededstatus: revisions neededstatus: revisions needed labels 2026-04-05 16:26:07 +02:00
Sign in to join this conversation.
No Label netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox netbox pending closure pending closure pending closure pending closure pending closure pending closure pending closure status: revisions needed status: revisions needed status: revisions needed status: revisions needed status: revisions needed status: revisions needed status: revisions needed status: revisions needed status: revisions needed type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug type: bug
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#326