Skip to content

CSV Column validation error handling throws Server Error #6910

@sdktr

Description

@sdktr

NetBox version

v2.11.10

Python version

3.8

Steps to Reproduce

  1. Open any CSV Import
  2. Use a wrong column name like 'addresss' on the IP address import or miss a required header
  3. Submit

Expected Behavior

The GUI shows a user friendly guidance on what's wrong with the headers, like:
image
or:
image

Observed Behavior

image

Server Error
There was a problem with your request. Please contact an administrator.

The complete exception is provided below:

<class 'KeyError'>

'csv'

Python version: 3.8.10
NetBox version: 2.11.10

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions