# Transactional email template with CRM Object data - access problem

**URL:** <https://community.hubspot.com/t/transactional-email-template-with-crm-object-data-access-problem/108100>\
**Category:** APIs & Integrations\
**Tags:** email\
**Created:** [May 28, 2024, 11:26am UTC](https://community.hubspot.com/t/transactional-email-template-with-crm-object-data-access-problem/108100 "2024-05-28T11:26:39Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Teun](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/teun/32/28739_2.png) [@Teun](https://community.hubspot.com/u/Teun)\
**Post date:** [May 28, 2024, 6:34pm UTC](https://community.hubspot.com/t/transactional-email-template-with-crm-object-data-access-problem/108100/6 "2024-05-28T18:34:39Z")

</div>

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.

---

_[View the full topic](https://community.hubspot.com/t/transactional-email-template-with-crm-object-data-access-problem/108100)._
