Some of the API created activities is missing from time line

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 :waving_hand: 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:

  • Is this a recurring issue, or has it only happened once?
  • Have you tried making a request to the Communications API using the endpoint GET/crm/v3/objects/Communications/{communicationId}? Does it return a successful response for the Engagement?
  • If you make a simple request to the Search Endpoint for Communications using pseudo-property associations.{objectType}, do you get a successful response?
  • You could also use the Get Engagement by ID endpoint for testing. This is a legacy but still supported endpoint, and it conveniently returns the associated IDs by default in the request.

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?