Hello!
This is what i see in the timeline event created via API, it looks broken.

The event template header is:
**{{ fullNameOrEmail }}** viewed resource [{{ resourceTitle }}]({{ dealroomLink }})
and the event template details are empty.
Do anyone know how to fix this please?
Hi @alekseytk
Let’s try to figure this out together. It sounds like the event details aren’t showing up in the output, which could mean the variables aren’t being populated properly. Let’s take a closer look at a few things:
- Are the Variables Set Up Correctly?
Could it be that the placeholders like {{ fullNameOrEmail }}, {{ resourceTitle }}, or {{ dealroomLink }} aren’t linked to the right properties? It might help to double-check if they’re mapped to fields that actually have data.
- Could the Data Be Missing?
Is it possible the contact or event just doesn’t have all the details filled in? For example, if there’s no resource title or link saved for that specific action, it might show up blank. Have you noticed this happening consistently or just in specific cases?
- Is the Workflow Set Up Properly?
Do you think the workflow or trigger is missing something? Maybe it’s worth testing with a sample contact to see if the data is being passed through as expected.
- Permissions or Access Issues?
Could there be a permissions issue where the script or user running this doesn’t have access to those specific properties? That’s something we could check.
- Placeholder Names Matching Up?
Do the placeholder names like {{ fullNameOrEmail }} match the exact property names in HubSpot? Sometimes a mismatch here can trip things up.
Maybe we could try testing each variable one by one—does replacing {{ fullNameOrEmail }} with a hardcoded name make the rest of the template work? Also, how do you feel about adding a fallback option, like showing “Data Not Available” when something’s missing?
Happy to keep digging into this with you!
Hi, @Balaji_Mavlers1
Thanks for the great reply and troubleshooting suggestions.
Hey @alekseytk, can you share an example of what your request body looks like, please? Adding it as a reply by using the code block tool is the best way to do it.
My hunch is the tokens object in your request looks something like this, with an empty `dealroomLink`
{
"eventTemplateId": "...",
"email": "...",
"tokens": {
"fullNameOrEmail": "Hedy Khemaissia",
"resourceTitle": "Message de relance pour faire vivre vos dealrooms",
"dealroomLink": "" // <-- Potential problem
}
}
And if not, seeing how your request is structured is still the best way for the community to troubleshoot along with you. Talk soon! —Jaycee
Thanks for getting back! All the variables are fine. It looks like Hubspot interface bug for me, i do not have other clues.
Hey, @alekseytk
Can you share the full request body of an API call that results in a broken event?
Also, can you try sending a test request like this? And share the full response for that, please?
{
"eventTemplateId": "YOUR_EVENT_TEMPLATE_ID",
"email": "test@example.com",
"tokens": {
"fullNameOrEmail": "Test User",
"resourceTitle": "Test Resource with Good Link",
"dealroomLink": "https://www.hubspot.com"
}
}
Thanks! — Jaycee