Prefix Import: Error message if VLAN_id is not found #618

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

Originally created by @Armadill0 on GitHub (Jan 9, 2017).

Hi I just imported a bunch of prefixes into netbox 1.8.1. It was a bit hard to track down some issues with missing VLANs (some didn't exist at all, some only at a different site) which gave me this error message:
netbox-prefix-import-error

Would be great if we could have a specific error handling (like the other errors, e.g. description too long, too) which shows what it was searching for and in which line this happened, because it's no fun to debug 500 lines by hand. 😄

Originally created by @Armadill0 on GitHub (Jan 9, 2017). Hi I just imported a bunch of prefixes into netbox 1.8.1. It was a bit hard to track down some issues with missing VLANs (some didn't exist at all, some only at a different site) which gave me this error message: ![netbox-prefix-import-error](https://cloud.githubusercontent.com/assets/6536990/21767618/7fe3ad7e-d675-11e6-9e90-cc0eaea59bac.png) Would be great if we could have a specific error handling (like the other errors, e.g. description too long, too) which shows what it was searching for and in which line this happened, because it's no fun to debug 500 lines by hand. :smile:
adam added the type: bug label 2025-12-29 16:23:53 +01:00
adam closed this issue 2025-12-29 16:23:53 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jan 17, 2017):

To confirm, importing even invalid data should never yield a server error. (Invalid data should trigger a validation error and return the user to the populated form.)

@jeremystretch commented on GitHub (Jan 17, 2017): To confirm, importing even invalid data should never yield a server error. (Invalid data should trigger a validation error and return the user to the populated form.)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#618