When adding a Custom Field via API it does not accept null values for non-required fields in version 3.7.0 #14778
Labels
severity: low
Does not significantly disrupt application functionality, or a workaround is available
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Deployment Type
Self-hosted
NetBox Version
v3.7.0
Python Version
3.8
Steps to Reproduce
Expected Behavior
Add the Custom Field as defined.
Observed Behavior
The following error occurs when the request is submitted:
Code: 400
Details: Error: Bad Request
Response body:
If the fields are removed from the request the behavior is as expected, however it is not a solution since I do not directly control what is sent in the HTTP request and it would not allow passing the fields from a non-null value to a null one.
Adding an Custom Field via GUI is not a problem (only the required fields are filled)
The text was updated successfully, but these errors were encountered: