Exporting to CSV uses capitalized fieldnames but lowercase is required for import #7458

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

Originally created by @fatman00 on GitHub (Jan 5, 2023).

NetBox version

v3.4.2

Python version

3.8

Steps to Reproduce

  1. Export Regions or Sites
  2. Import it on another netbox instance
  3. The import gives an error on the import with "Record 1 name: This field is required."
  4. The export CSV creates a field called Name but the import expects the field to be name.

Expected Behavior

Import and export should be a seamless workflow

Observed Behavior

Record 1 name: This field is required.

Originally created by @fatman00 on GitHub (Jan 5, 2023). ### NetBox version v3.4.2 ### Python version 3.8 ### Steps to Reproduce 1. Export Regions or Sites 2. Import it on another netbox instance 3. The import gives an error on the import with "Record 1 name: This field is required." 4. The export CSV creates a field called Name but the import expects the field to be name. ### Expected Behavior Import and export should be a seamless workflow ### Observed Behavior Record 1 name: This field is required.
adam closed this issue 2025-12-29 20:23:39 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jan 5, 2023):

As has been discussed many times in various issues, import & export are entirely separate functions. The supported fields for each object type are clearly documented beneath every bulk import form.

@jeremystretch commented on GitHub (Jan 5, 2023): As has been discussed many times in various issues, import & export are entirely separate functions. The supported fields for each object type are clearly documented beneath every bulk import form.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7458