-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
Environment
- Python version: v3.6.8
- NetBox version: v2.10.4
Attempting to save a tenant object via the API with the group property set to null results in an error. The Swagger documentation specifies that this property is nullable.
Steps to Reproduce
- Send the following JSON body via PATCH method to $netbox_url/api/tenancy/tenants/$tenant_id/ :
{ "group": null }
Expected Behavior
200 OK response and a JSON object containing the updated tenant object.
Observed Behavior
400 Bad Request response and an error message:
{ "group": [ "This field may not be null." ] }
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application