Add Device runs into Server Error #14848
Replies: 2 comments 2 replies
-
Please generate a full Python backtrace and post it here. The best way is to set EMAIL and ADMINS in configuration.py; in this case, if an exception ever occurs in production, it will be mailed to the admins. Alternatively, you can set DEBUG=True in configuration.py, in which case the exception will be displayed in the web browser (but only do this in dev environments, or temporarily in production) |
Beta Was this translation helpful? Give feedback.
-
Bull's eye! There is a custom validator for the asset tag field. Maybe the custom validator is not ok (I am not a regex specialist): CUSTOM_VALIDATORS = { Thanks for the quick help! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In a filled netbox instance with a lot of locations, racks, devices and cables i run into a server error while adding a device. To reproduce the error, I setup a new netbox instance with a new database. There is only one site, one manufacturer, one device type and one device role. If I now want to create a device, I get this error:
Server Error
There was a problem with your request. Please contact an administrator.
The complete exception is provided below:
<class 'TypeError'>
object of type 'NoneType' has no len()
Python version: 3.11.5
NetBox version: 3.7.1
Plugins: None installed
What is going wrong here? How can I analyze and fix the problem?
Beta Was this translation helpful? Give feedback.
All reactions