REST API for POST

getting this error while doing Post

{
“data”: [
{
“id”: “7b048d”,
“type”: “api_error”,
“attributes”: {
“code”: “INVALID_FORMAT”,
“details”: {
“messages”: [
“#/data: failed schema #/definitions/item/links/3/schema/properties/data: For ‘properties/data’, [{“type”=>“item”, “attributes”=>{“content_id”=>255486, “gen”=>[], “url”=>“Over 8 million in Afghanistan to benefit from pandemic aid | Aga Khan Development Network”, “title”=>{“en”=>“Over 8 million in Afghanistan to benefit from pandemic aid”, “fr”=>”", “pt”=>""}, “banner”=>[], “newsletter”=>[], “short_title”=>{“en”=>“Over 8 million in Afghanistan to benefit from pandemic aid”, “fr”=>"", “pt”=>""}, “category”=>“Press Release”, “body_summary”=>{“en”=>"", “fr”=>"", “pt”=>""}, “body”=>{“en”=>“abcdef”, “fr”=>“ooo”, “pt”=>“ppp”}, “image”=>[], “author”=>“34384764”, “tag”=>“health, aga khan foundation”, “microsite_country”=>“Afghanistan”, “agency”=>“Aga Khan Foundation”, “focus_area”=>“Health”, “cycle_year”=>“2022 Cycle”, “akma_cycle_years”=>“Cycle 2019”}, “relationships”=>{“item_type”=>{“data”=>{“id”=>“738952”, “type”=>“item_type”}}}}] is not an object."
]
}
}
}
]
}

Site API
https://site-api.datocms.com/items/:press_release

hey @karim.badruddin please use support@datocms.com for this as we need more information on your project and models to give you an example specific for you OK?

Hey Mat,
email sent.