Pocono
1
Can anyone point to a resource about this error? Thanks!
error. message: ‘meeting_to_contact is not a valid association type between meetings and contacts’,
..//api.hubapi.com/crm/v3/objects/meetings/24539689136/associations/contact/45151/meeting_to_contact?hapikey=..
Hey, @Pocono
For the associationType param can you try this, please?
meeting_event_to_contact
I tried that and returned a successful association:
Request
curl --request PUT \
--url https://api.hubapi.com/crm/v3/objects/meetings/24633009808/associations/0-1/501/meeting_event_to_contact \
--header 'authorization: Bearer YOUR_ACCESS_TOKEN'
Response
HTTP 200
{
"id": "24633009808",
"properties": {
"hs_createdate": "2022-08-15T14:40:24.805Z",
"hs_lastmodifieddate": "2022-08-15T14:40:25.211Z",
"hs_object_id": "24633009808"
},
"createdAt": "2022-08-15T14:40:24.805Z",
"updatedAt": "2022-08-15T14:40:25.211Z",
"archived": false,
"associations": {
"contacts": {
"results": [
{
"id": "501",
"type": "meeting_event_to_contact"
},
{
"id": "551",
"type": "meeting_event_to_contact"
}
]
}
}
}
I hope this helps get you moving forward.
Best,
Jaycee