Unable to inset custom widget in freshdesk support portal

We are looking to integrate our Haptik WebSDK widget on our Freshdesk help portal. Unfortunately, we are unable to get our Websdk to render on the support portal.

Our team tried to debug the issue and here is what we found - Freshdesk is using prototype.js library which results in different behavior for a JS function. The problem we are facing is that the default behavior of a function has been modified. JSON.stringify is calling Array.prototype but Array.prototype is giving a different response than expected. They are likely overwriting the base Array class.

Here is a StackOverflow thread discussing the same issue:
javascript - JSON.stringify() array bizarreness with Prototype.js - Stack Overflow)%20defines%20an%20Array

1 Like

Hi @Nameer_Khan,

We have very limited help when it comes to Product API related asks. Please expect some delay form us to get back and keep you posted with an update.

1 Like


Seems like this is a bug that Freshdesk team is aware of. The fix hasn’t been rolled out to yet. But there is a possibility to have temporary fix rolled out to your requested account alone. I will send an message on the forum to initiate working on that.

We are having the exact same issue on our account. Is there a reference for this defect I can raise with our CSM or TAM ?

Hi @IainM,

Working with CSM or TAM is good idea as they could fetch help from freshdesk support team.

Please allow me some time to get back. Usually, as far as developer trail accounts are considered, I can get help from Freshdesk API team.

1 Like