﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
36258	"""error"": ""Model instances passed to related filters must be saved."""	Nabih Elshabrawi		"When I run this command  

curl -X 'POST' \
  'http://127.0.0.1:8000/api/dcim/devices/' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'X-CSRFToken: 7Jn26w1vTrl1lYFF7sZLRgh5xclFfTDQNw7lQthQnocdjyHA1RZNNM6JPn2SrRcC' \
  -d '{
  ""id"": 81665,
  ""display"": ""1-B DIR NAMERA NORTH 380KV, SHQ-2 380KV,AL LAITH 380KV"",
  ""name"": ""1-B DIR NAMERA NORTH 380KV, SHQ-2 380KV,AL LAITH 380KV"",
  ""device_type"": 466,
  ""device_role"": 16,
  ""tenant"": 1,
  ""platform"": null,
  ""serial"": ""2102300766N0J2000267"",
  ""asset_tag"": null,
  ""site"": 784,
  ""location"": null,
  ""rack"": 21576,
  ""position"": 12,
  ""face"": ""front"",
  ""parent_device"": null,
  ""status"": ""active"",
  ""airflow"": null,
  ""primary_ip"": null,
  ""primary_ip4"": null,
  ""primary_ip6"": null,
  ""cluster"": null,
  ""virtual_chassis"": null,
  ""vc_position"": null,
  ""vc_priority"": null,
  ""comments"": """",
  ""local_context_data"": null,
  ""custom_fields"": {}
}'

I have this error ""Model instances passed to related filters must be saved."""	Bug	closed	Error reporting	5.2	Normal	invalid			Unreviewed	0	0	0	0	0	0
