# Custom Code ERROR with private API

**URL:** <https://community.hubspot.com/t/custom-code-error-with-private-api/71975>\
**Category:** APIs & Integrations\
**Created:** [December 29, 2022, 2:39pm UTC](https://community.hubspot.com/t/custom-code-error-with-private-api/71975 "2022-12-29T14:39:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CMayer2](https://avatars.discourse-cdn.com/v4/letter/c/51bf81/32.png) [@CMayer2](https://community.hubspot.com/u/CMayer2)\
**Post date:** [December 29, 2022, 2:39pm UTC](https://community.hubspot.com/t/custom-code-error-with-private-api/71975/1 "2022-12-29T14:39:34Z")

</div>

I use a custom code to connect Diabolocom (my dialer tool) to Hubspot : i want actually that Diabolocom dial automatically some hubspot Contacts.

Diabolocom sent a custom code but i have this error : Fichiers Journaux : i use a private API.

How can i do properly ?
