Skip to content

Custom Field Choice Set Bulk Import error "Nested arrays must have same length" #13983

@jayGG83

Description

@jayGG83

NetBox version

v3.6.3

Python version

3.10

Steps to Reproduce

  1. Select Custom Field Choices import
  2. Data to import:

CSV:

name;description;extra_choices
numbers;Numbers;7,13,18,23,26,32,38,80

JSON:

{
    "name": "numbers",
    "description": "Numbers",
    "extra_choices": [7,13,18,23,26,32,38,80]
}

YAML:

---
name: numbers
description: Numbers
extra_choices: 7,13,18,23,26,32,38,80
  1. Click Submit

Expected Behavior

It is expected to create the cusotm field choices

Observed Behavior

Returns this error in all cases: Record 1 extra_choices: Nested arrays must have the same length.

Metadata

Metadata

Assignees

Labels

severity: mediumResults in substantial degraded or broken functionality for specfic workflowsstatus: 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