Custom Code ERROR with private API

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 ?