Contact - Address link API

@D_Petropoulos @littlehera
I am trying to link an address to a contact.
URL: (PUT) http://localhost.local/api/resource/Contact/fjkhsfkj%20kjfhskjfh-CUST-2019-00001
my JSON:
{
“email_id”: “fjshf@jkfhsf.com”, #contact to add address too
“links”:{
“link_doctype”:“Address”,
“link_name”: “kokolofute-Billing”
}
}

ERROR:
“exc”: “["Traceback (most recent call last):\n File \"/home/bench/erpnext/apps/frappe/frappe/app.py\", line 60, in application\n response = frappe.api.handle()\n File \"/home/bench/erpnext/apps/frappe/frappe/api.py\", line 95, in handle\n \"data\": doc.save().as_dict()\n File \"/home/bench/erpnext/apps/frappe/frappe/model/document.py\", line 259, in save\n return self._save(*args, **kwargs)\n File \"/home/bench/erpnext/apps/frappe/frappe/model/document.py\", line 295, in _save\n self.run_before_save_methods()\n File \"/home/bench/erpnext/apps/frappe/frappe/model/document.py\", line 885, in run_before_save_methods\n self.run_method(\"validate\")\n File \"/home/bench/erpnext/apps/frappe/frappe/model/document.py\", line 780, in run_method\n out = Document.hook(fn)(self, *args, **kwargs)\n File \"/home/bench/erpnext/apps/frappe/frappe/model/document.py\", line 1058, in composer\n return composed(self, method, *args, **kwargs)\n File \"/home/bench/erpnext/apps/frappe/frappe/model/document.py\", line 1041, in runner\n add_to_return_value(self, fn(self, *args, **kwargs))\n File \"/home/bench/erpnext/apps/frappe/frappe/model/document.py\", line 774, in \n fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)\n File \"/home/bench/erpnext/apps/frappe/frappe/contacts/doctype/address/address.py\", line 42, in validate\n deduplicate_dynamic_links(self)\n File \"/home/bench/erpnext/apps/frappe/frappe/core/doctype/dynamic_link/dynamic_link.py\", line 18, in deduplicate_dynamic_links\n t = (l.link_doctype, l.link_name)\nAttributeError: ‘unicode’ object has no attribute ‘link_doctype’\n"]”

Did you figure it out?

would be really nice to know, is there aany reference available?