Error creating device #5548

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

Originally created by @TheJojje on GitHub (Oct 22, 2021).

NetBox version

3.0.7

Python version

3.9

Steps to Reproduce

  1. Organization
  2. Racks
  3. Click random position
  4. Name device (In my case CA02-03B)
  5. Device role "patchpanel"
  6. Device type "48-pair fiber panel (SC)
  7. Site "Random Corp"
  8. Location "Building A"
  9. Rack "CA02"
  10. Rackface front
  11. Position U37
  12. Status active
  13. Create

Expected Behavior

Create the device without error.

Observed Behavior

Got this error
<class 'TypeError'>

Field 'id' expected a number but got ['3', '3'].

Python version: 3.9.5
NetBox version: 3.0.7
However, the device was created.

Originally created by @TheJojje on GitHub (Oct 22, 2021). ### NetBox version 3.0.7 ### Python version 3.9 ### Steps to Reproduce 1. Organization 2. Racks 3. <Rackname> 4. Click random position 5. Name device (In my case CA02-03B) 6. Device role "patchpanel" 7. Device type "48-pair fiber panel (SC) 8. Site "Random Corp" 9. Location "Building A" 10. Rack "CA02" 11. Rackface front 12. Position U37 13. Status active 14. Create ### Expected Behavior Create the device without error. ### Observed Behavior Got this error <class 'TypeError'> Field 'id' expected a number but got ['3', '3']. Python version: 3.9.5 NetBox version: 3.0.7 However, the device was created.
adam added the type: bugstatus: duplicate labels 2025-12-29 19:29:19 +01:00
adam closed this issue 2025-12-29 19:29:19 +01:00
Author
Owner

@jeremystretch commented on GitHub (Oct 22, 2021):

Thank you for submitting this issue, however it appears that this topic has already been raised. Please see issue #7534 for further discussion.

@jeremystretch commented on GitHub (Oct 22, 2021): Thank you for submitting this issue, however it appears that this topic has already been raised. Please see issue #7534 for further discussion.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5548