'Region' object is not iterable
| Request Method: | GET |
|---|---|
| Request URL: | http://netbox-non-prod.vpc-4865862f.airnz.co.nz/dcim/interfaces/?q=®ion=99&site= |
| Django Version: | 2.2.9 |
| Exception Type: | TypeError |
| Exception Value: | 'Region' object is not iterable |
'32767'
| Request Method: | GET |
|---|---|
| Request URL: | http:///api/dcim/interfaces/9016/ |
| Django Version: | 2.2.9 |
| Exception Type: | KeyError |
| Exception Value: | '32767' |
| Exception Location: | /opt/netbox/netbox/utilities/api.py in to_representation, line 86 |
| Python Executable: | /usr/local/bin/python |
| Python Version: | 3.7.6 |
| Python Path: | ['/opt/netbox/netbox', '/usr/local/bin', '/usr/local/lib/python37.zip', '/usr/local/lib/python3.7', '/usr/local/lib/python3.7/lib-dynload', '/usr/local/lib/python3.7/site-packages'] |
| Server time: | Tue, 21 Jan 2020 16:06:34 +1300 |
Yep, I see that too. Nice easy-to-reproduce bug.
--
You received this message because you are subscribed to the Google Groups "NetBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/91aa6e3c-8cd0-4b4f-8ab4-c3c5564f1064%40googlegroups.com.
Think I've spotted another with interface type (formerly form_factor) displaying as its id 32767 which creates a key error when referring to it via API.