device_role in import devices are not getting recognised #1280

Closed
opened 2025-12-29 16:31:02 +01:00 by adam · 5 comments
Owner

Originally created by @wookdark on GitHub (Oct 5, 2017).

While trying to import multiple devices device_role which is created is not getting recognized despite device role being created

Error: Required column header "device_role" not found
screen shot 2017-10-05 at 5 26 54 pm

Originally created by @wookdark on GitHub (Oct 5, 2017). While trying to import multiple devices device_role which is created is not getting recognized despite device role being created Error: Required column header "device_role" not found <img width="876" alt="screen shot 2017-10-05 at 5 26 54 pm" src="https://user-images.githubusercontent.com/31650776/31226149-abd02fb0-a9f2-11e7-9bd9-a3ad606624f0.png">
adam closed this issue 2025-12-29 16:31:02 +01:00
Author
Owner

@wookdark commented on GitHub (Oct 5, 2017):

anyone the community who can help here, please? appreciate your time
We are trying to import bulk of machines and for some reason the define device role is not getting picked up.

@wookdark commented on GitHub (Oct 5, 2017): anyone the community who can help here, please? appreciate your time We are trying to import bulk of machines and for some reason the define device role is not getting picked up.
Author
Owner

@LBegnaud commented on GitHub (Oct 5, 2017):

when you import now, you have to define headers. If you reload the page you should see an example of the headers.

@LBegnaud commented on GitHub (Oct 5, 2017): when you import now, you have to define headers. If you reload the page you should see an example of the headers.
Author
Owner

@wookdark commented on GitHub (Oct 5, 2017):

Its isnt working properly, data are getting mismatched

@wookdark commented on GitHub (Oct 5, 2017): Its isnt working properly, data are getting mismatched
Author
Owner

@LBegnaud commented on GitHub (Oct 5, 2017):

can you give me an example of a set of data? I'd venture a guess that you aren't lining up the headers properly

It may be useful for you to put the data into excel, save as csv, then open that csv in notepad to get the content to paste

@LBegnaud commented on GitHub (Oct 5, 2017): can you give me an example of a set of data? I'd venture a guess that you aren't lining up the headers properly It may be useful for you to put the data into excel, save as csv, then open that csv in notepad to get the content to paste
Author
Owner

@wookdark commented on GitHub (Oct 5, 2017):

yeah you are right sorry about that , yes i messed up the headers a bot wrongly
figured that out
Thanks a lot friend

@wookdark commented on GitHub (Oct 5, 2017): yeah you are right sorry about that , yes i messed up the headers a bot wrongly figured that out Thanks a lot friend
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1280