# Unable to add custom functionality

**URL:** <https://forum.mautic.org/t/unable-to-add-custom-functionality/27544>\
**Category:** Product Support\
**Created:** [March 29, 2023, 10:28am UTC](https://forum.mautic.org/t/unable-to-add-custom-functionality/27544 "2023-03-29T10:28:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![archanashastry](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/archanashastry/32/6597_2.png) [@archanashastry](https://forum.mautic.org/u/archanashastry)\
**Post date:** [March 29, 2023, 10:28am UTC](https://forum.mautic.org/t/unable-to-add-custom-functionality/27544/1 "2023-03-29T10:28:04Z")

</div>

**Your software**  
My Mautic version is:4.5  
My PHP version is:7.4  
My Database type and version is: sql and version ‘5.7.38’

**Your problem**  
My problem is: We are facing an issue while customising our mautic instance. As part of this change, we have added an integration to Zoom through API and when we make a call , the javascript call to libraries.js gives us an error. PFA the error screenshot. The call libraries.js works fine without any code changes.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/5/597e9497f533e305d7f6de1cbbb78e59ceb3c62d.png)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/9/95f6dab1c5a0ee00bb1a57859555329cedf5c226.png)

> Preformatted text

`

These errors are showing in the log:

Steps I have tried to fix the problem:

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [March 30, 2023, 6:16am UTC](https://forum.mautic.org/t/unable-to-add-custom-functionality/27544/2 "2023-03-30T06:16:36Z")

</div>

Hi, I’m asking this with the best intensions: not sure what you are asking.  
To debug your code, that you are not sharing?

---

<div class="post-metadata">

**Author:** ![astrylis](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/astrylis/32/6421_2.png) [@astrylis](https://forum.mautic.org/u/astrylis)\
**Post date:** [March 30, 2023, 11:12am UTC](https://forum.mautic.org/t/unable-to-add-custom-functionality/27544/3 "2023-03-30T11:12:28Z")

</div>

Hey, As joeyk has said we would need more information to be able to help you.

Did you write custom code via a plugin to integrate with zoom?  
How do you intend to use this with mautic? I see in your screenshot your using a campaign but there is no other data apart from the root source? that campaign will not do anything without conditions, actions and decisions

---

<div class="post-metadata">

**Author:** ![archanashastry](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/archanashastry/32/6597_2.png) [@archanashastry](https://forum.mautic.org/u/archanashastry)\
**Post date:** [March 31, 2023, 10:29am UTC](https://forum.mautic.org/t/unable-to-add-custom-functionality/27544/4 "2023-03-31T10:29:52Z")

</div>

Hi

We have created custom integration with Zoom through api for including contacts into zoom webinar and meeting . As part of this, there is a campaign action to add contact to zoom webinar .But when the action is performed its failing to make the call through libarbies.js. We have made the code changes in campaign subscriber eventlistener .

This integration is working fine in mautic 2.16.2 . We wanted to know if there are any changes the the way access are defined for JS files in Mautic ver 4.5.

PFA the screenshots for the campaign action, the Libraries.Js call, campaign subscriber code and error received are attached here with.

 ![Campaign Action](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/2/224e4be2a3eb7359f000b4c96d05a398922e0050.jpeg)  
 ![Campaign Subscriber](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/2/298bb757560f86336db611262bf0d680cc565f09.jpeg)  
 ![Error message](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/a/a0b04b0c56b8492efbc1c0fb8067287945a431ed.png)  
 ![Librabies call](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/4/44c6cbaed80ca36aaf47231cbc06e9f6b2ad1d75.png)
