Transactional email template with CRM Object data - access problem

It’s an odd issue.

Is the ‘7008’ the HubSpot object ID or another property you are using to query the record? If it is the record ID, can you pass it without the query?

Also, can you pass the 4th parameter in the function for formatting? That has fixed an issue for me in the past:

crm_object("p_fomf_content", QueryFromSendAPI, "ub_event_id,brand,id", false)

I’m just throwing with possible fixes, as it isn’t making any sense.
Also, could you add double quotes around the object_type? That is the only difference between version 1 and version 2 and 3.