error during device import if there's a device type mismatch #523

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

Originally created by @mbdraks on GitHub (Nov 9, 2016).

Netbox is now throwing a server error instead of gracefully explaining where the error is (like in previous versions) if during the import device procedure the device type does not exist.

Step to reproduce: Import device CSV using a device type that does not exist

Error:
<class 'django.db.models.fields.related_descriptors.RelatedObjectDoesNotExist'>
Device has no device_type.

Tested on v1.7.0

Originally created by @mbdraks on GitHub (Nov 9, 2016). Netbox is now throwing a server error instead of gracefully explaining where the error is (like in previous versions) if during the import device procedure the device type does not exist. Step to reproduce: Import device CSV using a device type that does not exist Error: <class 'django.db.models.fields.related_descriptors.RelatedObjectDoesNotExist'> Device has no device_type. Tested on v1.7.0
adam closed this issue 2025-12-29 16:22:53 +01:00
Author
Owner

@gjvc commented on GitHub (Apr 28, 2018):

This exact error seems to have returned in v2.3.3

@gjvc commented on GitHub (Apr 28, 2018): This exact error seems to have returned in v2.3.3
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#523