HS Chrome Extension conflicts with another app and won't load in gmail


#1

Hello, the HS chrome app won't load in gmail if I enable a feature in my own chrome app that is used for click-to-call. The app uses a regex to recognize phone numbers and injects an icon and makes the number clickable.

In gmail, the HS chrome extension will not load if this is enabled and spits out the following error;

Error logged: Error: deserialization error
    at Object.d [as deserializeArray] (injected.js:40)
    at f (injected.js:39)
    at Object.i [as setup] (injected.js:39)
    at s (injected.js:39)
    at Object.<anonymous> (injected.js:40)
    at Object.392../gmail/setup-gmail-interceptor (injected.js:40)
    at o (injected.js:19)
    at t (injected.js:19)
    at injected.js:19 

Original error stack:
Error: deserialization error
    at Object.d [as deserializeArray] (https://www.inboxsdk.com/build/injected.js:40:21702)
    at f (https://www.inboxsdk.com/build/injected.js:39:22353)
    at Object.i [as setup] (https://www.inboxsdk.com/build/injected.js:39:21526)
    at s (https://www.inboxsdk.com/build/injected.js:39:3056)
    at Object.<anonymous> (https://www.inboxsdk.com/build/injected.js:40:3158)
    at Object.392../gmail/setup-gmail-interceptor (https://www.inboxsdk.com/build/injected.js:40:3355)
    at o (https://www.inboxsdk.com/build/injected.js:19:254)
    at t (https://www.inboxsdk.com/build/injected.js:19:420)
    at https://www.inboxsdk.com/build/injected.js:19:437 

Error logged from:
    at o (https://www.inboxsdk.com/build/platform-implementation.js:80:26920)
    at u (https://www.inboxsdk.com/build/platform-implementation.js:106:7631)
    at e.value (https://www.inboxsdk.com/build/platform-implementation.js:106:11602)
    at HTMLDocument.eval (https://www.inboxsdk.com/build/platform-implementation.js:106:11086)
    at eval (https://www.inboxsdk.com/build/platform-implementation.js:106:7859)
    at Function.value (https://www.inboxsdk.com/build/platform-implementation.js:106:12771)
    at HTMLDocument.eval (https://www.inboxsdk.com/build/platform-implementation.js:106:7835)
    at eval (https://www.inboxsdk.com/build/platform-implementation.js:106:293)
    at eval (https://www.inboxsdk.com/build/platform-implementation.js:45:15146)
    at i (https://www.inboxsdk.com/build/platform-implementation.js:86:323)
    at e.value (https://www.inboxsdk.com/build/platform-implementation.js:83:16533)
    at new e (https://www.inboxsdk.com/build/platform-implementation.js:83:7943)
    at i (https://www.inboxsdk.com/build/platform-implementation.js:108:12585)
    at eval (https://www.inboxsdk.com/build/platform-implementation.js:107:15201)
    at j (https://www.inboxsdk.com/build/platform-implementation.js:79:2603)
    at A (https://www.inboxsdk.com/build/platform-implementation.js:79:2700)
    at eval (https://www.inboxsdk.com/build/platform-implementation.js:79:3240)
    at MutationObserver.ve (https://www.inboxsdk.com/build/platform-implementation.js:79:8644) 

Extension App Ids: [
  {
    "appId": "sdk_SIDEKICK_ab674cd386",
    "causedBy": true
  }
] 
Sent by App: false 
Session Id: 1519316731261-0.530063418869291 
Extension Id: chrome-extension://oiiaigjnkhngdbnoookogelabohpglmd/ 
InboxSDK Loader Version: 0.7.21-1466467956470-7c17f4be535fde9c 
InboxSDK Implementation Version: 0.7.24-1518721391803-d0bb9aa224a0ce9a
o	@	platform-implementation.js:80
u	@	platform-implementation.js:106
value	@	platform-implementation.js:106
(anonymous)	@	platform-implementation.js:106
(anonymous)	@	platform-implementation.js:106
value	@	platform-implementation.js:106
(anonymous)	@	platform-implementation.js:106
o	@	injected.js:40
(anonymous)	@	injected.js:40
392../gmail/setup-gmail-interceptor	@	injected.js:40
o	@	injected.js:19
t	@	injected.js:19
(anonymous)	@	injected.js:19
(anonymous)	@	platform-implementation.js:106
(anonymous)	@	platform-implementation.js:45
i	@	platform-implementation.js:86
value	@	platform-implementation.js:83
e	@	platform-implementation.js:83
i	@	platform-implementation.js:108
(anonymous)	@	platform-implementation.js:107
j	@	platform-implementation.js:79
A	@	platform-implementation.js:79
(anonymous)	@	platform-implementation.js:79
ve	@	platform-implementation.js:79
characterData (async)		
(anonymous)	@	platform-implementation.js:79
me	@	platform-implementation.js:79
M	@	platform-implementation.js:79
load	@	platform-implementation.js:107
(anonymous)	@	index.js??ref--2!/us…mail-before.js:3127
Promise.then (async)		
load	@	index.js??ref--2!/us…mail-before.js:3126
load	@	index.js??ref--2!/us…mail-before.js:3082
127	@	index.js??ref--2!/us…js/init/Gmail.js:36
t	@	bootstrap 04a315b…:19
0	@	bootstrap 04a315b…:85
(anonymous)	@	bootstrap 04a315b…:85 

My java developer is not able to find the reason so far as it looks HS side and I am wondering if its a DOM priority issue or which side it needs to be addressed on. I am guessing it is a conflict with both apps wanting to load some info based on the phone number being imported from the CRM, but really I am not sure.

Any help would be really appreciated, thank you in advance :slight_smile:


#2

Hi @nurango,

This forum is for questions/issues related to the HubSpot APIs; for this, I'd recommend reaching out to our Support team so that they can troubleshoot the issue and potentially work with product on a solution. You can file a ticket by clicking the 'Help' widget in your portal or by calling 1 888-482-7768 x3