-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create of VLAN using the API and /available-vlans/ fails when role or tenant is present #13440
Comments
… for available-vlans API
… for available-vlans API
I have tested possible solution by not deserializing |
This and similar API endpoints were refactored recently in Further investigation is needed to determine the appropriate fix. We need to ensure that all serializers that enable the automatic creation of "available" objects operate in a consistent manner. |
@arthanson this may be related to #13746 |
This is fixed by #13746 |
Confirmed that this has been resolved by PR #13889. Thanks @arthanson! |
NetBox version
v3.6-beta1
Python version
3.10
Steps to Reproduce
Expected Behavior
A new VLAN should be created
Observed Behavior
Bad request is returned with an error message that indicates that the deserialization used the tenant object instead of the ID:
The text was updated successfully, but these errors were encountered: