Testing platform api

hi Everyone,

ust wondering if anyone can help this issue, we hosted webmessaging chat hook to customer website about couple months ago, and all running as expected.

This should normally be raised via Genesys Customer Care.

We had a quick look: based on our research, you have added custom code that is modifying the JavaScript built-in primitive Symbol. This is dangerous, any primitive object in JavaScript shouldn’t be modified. Here is the list of all those.

“All primitives are immutable ; that is, they cannot be altered.”

It appears you may have coded against this:

  1. Symbol is modified to @@__symbol:internals0.4036…..
  2. It is also made writable: false (meaning readable only). This is the reason, its throwing error in the console and breaking - Cannot assign to read only property '__symbol@@.

We recently upgraded one of our internal libraries, which does happen regularly for internal patching and vulnerability improvements: this may have triggered the issue you are experiencing.
Resolution: we strongly recommend that you remove your custom JS code. In general, we ensure backward compatibility with our native Messenger across any future product upgrades, and we discourage any attempt to manipulate our native JS code specifically to prevent situations like this that may break default behavior.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.