Invalid REST API request setting custom fields raises TypeError #10134
Labels
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
NetBox version
v3.3.0
Python version
3.8
Steps to Reproduce
Send a malformed REST API request attempting to set custom fields for an object. For example:
Note that
custom_fields
maps to a string rather than a dictionary.Expected Behavior
NetBox should return a 400 Bad Request response indicating the reason for the failure.
Observed Behavior
A TypeError exception is raised.
The text was updated successfully, but these errors were encountered: