Error During CSV Import : Power Feed Rack Not Found #11027

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

Originally created by @DharmaBytesX on GitHub (Apr 15, 2025).

Deployment Type: Self-hosted
NetBox Version: 4.2.7

Steps to Reproduce

- Create a rack in NetBox, e.g., **RACK-BUILDING-1**

- Create a power panel, e.g., **PW-1**

- Create a site, e.g., **MySite**

- **Navigate to Power Feeds and use the Import function with the following CSV data:**
name;status;type;mark_connected;phase;rack;voltage;power_panel;max_utilization;amperage;site;supply
PF-1;active;primary;VRAI;three-phase;RACK-BUILDING-1;230;PW-1;1;32;MySite;ac

Expected Behavior

The power feed should import successfully without errors.

Observed Behavior

Import fails with the following error:

Record 1: rack: Object not found: RACK-BUILDING-1

However, querying the API directly confirms that the rack exists :

GET https://netbox.local/api/dcim/racks/?name=RACK-BUILDING-1

Returns the expected rack object.

Originally created by @DharmaBytesX on GitHub (Apr 15, 2025). **Deployment Type: Self-hosted** **NetBox Version: 4.2.7** **Steps to Reproduce** - Create a rack in NetBox, e.g., **RACK-BUILDING-1** - Create a power panel, e.g., **PW-1** - Create a site, e.g., **MySite** - **Navigate to Power Feeds and use the Import function with the following CSV data:** ``` name;status;type;mark_connected;phase;rack;voltage;power_panel;max_utilization;amperage;site;supply PF-1;active;primary;VRAI;three-phase;RACK-BUILDING-1;230;PW-1;1;32;MySite;ac ``` **Expected Behavior** The power feed should import successfully without errors. **Observed Behavior** Import fails with the following error: Record 1: rack: Object not found: RACK-BUILDING-1 However, querying the API directly confirms that the rack exists : GET https://netbox.local/api/dcim/racks/?name=RACK-BUILDING-1 Returns the expected rack object.
adam closed this issue 2025-12-29 21:39:20 +01:00
Author
Owner

@jeremystretch commented on GitHub (Apr 15, 2025):

Please resubmit your issue using the bug report form.

@jeremystretch commented on GitHub (Apr 15, 2025): Please resubmit your issue using the [bug report form](https://github.com/netbox-community/netbox/issues/new?template=02-bug_report.yaml).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11027