Unable to create custom field of type object or multiobject via API #8976
Labels
beta
Concerns a bug/feature in a beta release
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
NetBox version
v3.2-beta2
Python version
3.9
Steps to Reproduce
{
"content_types": [
"ipam.prefix"
],
"type": "object",
"data_type": "object",
"object_type": "circuits.circuit",
"name": "circuit",
"label": "Circuit"
}
Expected Behavior
A new custom field should be created.
Observed Behavior
The API returns:
{
"object_type": [
"Object fields must define an object type."
]
}
It does not matter what value you supply for object_type or if you don't specify one at all.
The text was updated successfully, but these errors were encountered: