RelatedObjectDoesNotExist at /dcim/devices/import/child-devices/ #227

Closed
opened 2025-12-29 16:19:43 +01:00 by adam · 6 comments
Owner

Originally created by @ronniefalcon on GitHub (Jul 15, 2016).

I am trying to mass import child devices and receiving this error:

Internal Server Error: /dcim/devices/import/child-devices/

RelatedObjectDoesNotExist at /dcim/devices/import/child-devices/
Device has no device_type.

Attached the bug report. Do you need anything else?

bug_report_15072016.txt

Originally created by @ronniefalcon on GitHub (Jul 15, 2016). I am trying to mass import child devices and receiving this error: > Internal Server Error: /dcim/devices/import/child-devices/ > > RelatedObjectDoesNotExist at /dcim/devices/import/child-devices/ > Device has no device_type. Attached the bug report. Do you need anything else? [bug_report_15072016.txt](https://github.com/digitalocean/netbox/files/366001/bug_report_15072016.txt)
adam added the type: bug label 2025-12-29 16:19:43 +01:00
adam closed this issue 2025-12-29 16:19:43 +01:00
Author
Owner

@ronniefalcon commented on GitHub (Jul 15, 2016):

This is what I was trying to import:

xx011,Renderblade,xxx,i7-2770k,,,xx-CHASSIS-002,3

@ronniefalcon commented on GitHub (Jul 15, 2016): This is what I was trying to import: xx011,Renderblade,xxx,i7-2770k,,,xx-CHASSIS-002,3
Author
Owner

@ronniefalcon commented on GitHub (Jul 15, 2016):

Ignore me. This is user error.

@ronniefalcon commented on GitHub (Jul 15, 2016): Ignore me. This is user error.
Author
Owner

@jeremystretch commented on GitHub (Jul 15, 2016):

Glad you figured it out, but that exception should never be exposed to the user.

@jeremystretch commented on GitHub (Jul 15, 2016): Glad you figured it out, but that exception should never be exposed to the user.
Author
Owner

@ronniefalcon commented on GitHub (Jul 15, 2016):

It was emailed to the admin. (myself)

@ronniefalcon commented on GitHub (Jul 15, 2016): It was emailed to the admin. (myself)
Author
Owner

@jeremystretch commented on GitHub (Jul 15, 2016):

Oh, sure, I mean it shouldn't cause a server error. It should instead return a validation error within the import form. Working on a fix right now.

@jeremystretch commented on GitHub (Jul 15, 2016): Oh, sure, I mean it shouldn't cause a server error. It should instead return a validation error within the import form. Working on a fix right now.
Author
Owner

@ronniefalcon commented on GitHub (Jul 15, 2016):

Oh, I see. OK. Cool.

@ronniefalcon commented on GitHub (Jul 15, 2016): Oh, I see. OK. Cool.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#227