KeyError when adding Module Bays to devices #7775

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

Originally created by @MarioSpenc on GitHub (Mar 20, 2023).

Originally assigned to: @arthanson on GitHub.

NetBox version

3.4.6

Python version

3.10

Steps to Reproduce

  1. Add device
  2. Goto devices overview
  3. mark new device
  4. click on "Add Components"
  5. click on "Module Bays"
  6. Fill in "Name"
  7. click "Create"

Expected Behavior

New Module Bay should be added.

Observed Behavior

Error Message:
Server Error
There was a problem with your request. Please contact an administrator.

The complete exception is provided below:

class 'KeyError'

'position'

Python version: 3.10.6
NetBox version: 3.4.6

Originally created by @MarioSpenc on GitHub (Mar 20, 2023). Originally assigned to: @arthanson on GitHub. ### NetBox version 3.4.6 ### Python version 3.10 ### Steps to Reproduce 1. Add device 2. Goto devices overview 3. mark new device 4. click on "Add Components" 5. click on "Module Bays" 6. Fill in "Name" 7. click "Create" ### Expected Behavior New Module Bay should be added. ### Observed Behavior Error Message: Server Error There was a problem with your request. Please contact an administrator. The complete exception is provided below: class 'KeyError' 'position' Python version: 3.10.6 NetBox version: 3.4.6
adam added the type: bugstatus: accepted labels 2025-12-29 20:28:03 +01:00
adam closed this issue 2025-12-29 20:28:03 +01:00
Author
Owner

@GoldyXXD commented on GitHub (Mar 31, 2023):

I also get this error when I'm trying to bulk add Module Bays to multiple devices. It doesn't error out for me if I do it for a single device though. Started happening after the update to 3.4.5. I've just tested 3.4.7 and issue still occurs.

@GoldyXXD commented on GitHub (Mar 31, 2023): I also get this error when I'm trying to bulk add Module Bays to multiple devices. It doesn't error out for me if I do it for a single device though. Started happening after the update to 3.4.5. I've just tested 3.4.7 and issue still occurs.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7775