I created an activity with the communication API, the response is success and the link below is the activity.
The timestamp of the activity is 5/22 5:40. But in the contact’s timeline, There’s no 5/22’s activities.
Hi, @PWen
Welcome to our community! Thanks for your question.
Without details about the API call and its response, it could be challenging to pinpoint a cause of the issue.
And I have a few questions that can help our community understand any potential root causes:
/crm/v3/objects/Communications/{communicationId}? Does it return a successful response for the Engagement?associations.{objectType}, do you get a successful response?I know this isn’t a solution, but running through these endpoints using Postman may uncover some clues or any discrepancies that are leading to the issue itself.
Have fun testing! — Jaycee
Hi @Jaycee_Lewis , thanks for your response.
- The issue occured not only once, and there’s no code change between the successful activities and the missing one. And there are more 5/22 activities is missing from the timeline. But some of the missing activity may show up if I apply the owner filter.
- Yes, it returned a successful response. That’s how I get the engagement id.
- I called the search API with this payload.
{
"filters":[
{
"propertyName": "associations.contact",
"operator": "EQ",
"value": "1201"
},
{
"propertyName": "hs_object_id",
"operator": "EQ",
"value": "35159003555"
}
]
}
And it responsed
{
"total": 1,
"results": [
{
"id": "35159003555",
"properties": {
"hs_createdate": "2023-05-24T05:56:46.851Z",
"hs_lastmodifieddate": "2023-05-24T05:56:46.851Z",
"hs_object_id": "35159003555"
},
"createdAt": "2023-05-24T05:56:46.851Z",
"updatedAt": "2023-05-24T05:56:46.851Z",
"archived": false
}
]
}
So I think the activity does exist.
Hi @Jaycee_Lewis Any updates?