We’ve converted our old Hubspot integration from authorizing with an API key to a private app and using an auth token. Our old integration showed each request in the API call log, but the new integration doesn’t show anything. I’ve confirmed the requests are being made and emails are being sent, but there are no requests logged in the private app.
Our codebase is in Python and the snippet that sends emails hasn’t changed much between integrations. Here’s the new relevant piece of code:
`api_client.marketing.transactional.single_send_api.send_email(public_single_send_request_egg=request_egg)`
Like I mentioned, we’re receiving emails and the code itself is working. I’ve looked around in the private app config to see if there’s anything I’m missing, but I can’t find it. How do I enable request logging in my private app?
Hi, @heatherblairs
I am looking into this for us. With the upcoming holidays and new year, the turn around time will be slower than normal. Because you have a paid account, I’d suggest filing a support ticket as well.
I found a recent community post indicating the user was told by support that this is not possible with private apps. But I want to try to pin down something definitive or, better yet, get a link to public facing documentation.
If you do file a support ticket, please DM the Ticket ID or the HubID for the portal, and I’ll keep an eye out for it.
Best,
Jaycee
Here’s the answer I got from support for posterity:
Hi Heather,
Thank you for your patience here! I did some digging, and it looks like the reason for this is that requests made to the single-send transactional mail endpoint are not tracked in the API Call Logs. The reason for this is because the single-send mail endpoint does not have any limits, and endpoints that do not have any limits are omitted from the API call logs.
For some additional context, this is primarily due to the nature of unrestricted endpoints. Logging these calls could incur a very high cost to our systems given that there are no limits, and therefore they are omitted from the logs. Let me know if this makes sense or if I can clarify anything here further!
Kind regards,
Marshall
Hi, @heatherblairs
That is essentially the same answer I recieved from my internal resources. Thank you very much for adding it here
— Jaycee