Error in injected script Error: Failed to process thread response

599 views
Skip to first unread message

Abby

unread,
Sep 10, 2022, 4:23:06 AM9/10/22
to InboxSDK
Hi Streak team,

I noticed that since this morning, an error is throw on console continuously. 

Although it doesn't break anything (not that I am aware of), it does cause a lot of noise on console.

Walter

unread,
Sep 10, 2022, 2:01:39 PM9/10/22
to InboxSDK
We have the same error, see below.
It generates a problem, the threadID is not returned on the send event...
In our case, it breaks our extension....

Any update?
Thanks

Walter




platform-implementation.js:20 Error logged: Error: Failed to process thread response
    at Object.s [as extractThreadsFromThreadResponse] (pageWorld.js:11:6959)
    at Object.originalResponseTextLogger (pageWorld.js:8:31515)
    at pageWorld.js:10:19277
    at n (pageWorld.js:6:4562)
    at n (pageWorld.js:7:7088)
    at XMLHttpRequest.<anonymous> (pageWorld.js:10:19208)

Original error stack:
Error: Failed to process thread response
    at Object.s [as extractThreadsFromThreadResponse] (https://www.inboxsdk.com/build/pageWorld.js:11:6959)
    at Object.originalResponseTextLogger (https://www.inboxsdk.com/build/pageWorld.js:8:31515)
    at https://www.inboxsdk.com/build/pageWorld.js:10:19277
    at n (https://www.inboxsdk.com/build/pageWorld.js:6:4562)
    at n (https://www.inboxsdk.com/build/pageWorld.js:7:7088)
    at XMLHttpRequest.<anonymous> (https://www.inboxsdk.com/build/pageWorld.js:10:19208)

Error logged from:
    at n (https://www.inboxsdk.com/build/platform-implementation.js:20:22045)
    at l (https://www.inboxsdk.com/build/platform-implementation.js:51:9224)
    at e.value (https://www.inboxsdk.com/build/platform-implementation.js:51:14047)
    at HTMLDocument.eval (https://www.inboxsdk.com/build/platform-implementation.js:51:13472)
    at eval (https://www.inboxsdk.com/build/platform-implementation.js:51:9522)
    at Function.value (https://www.inboxsdk.com/build/platform-implementation.js:51:15276)
    at HTMLDocument.eval (https://www.inboxsdk.com/build/platform-implementation.js:51:9498)

Extension App Ids: [
  {
    "appId": "xxxxx",
    "causedBy": true
  }
]
Sent by App: false
Session Id: 1662832586901-0.9273051976052384
Extension Id: chrome-extension://xxxxx
InboxSDK Loader Version: 0.7.6-612213e7ed499c62
InboxSDK Implementation Version: 0.7.25-1662698677292-4512d6162573d491
Is Using Sync API: true

Amiram Korach

unread,
Sep 12, 2022, 4:40:04 AM9/12/22
to InboxSDK
We get this error and also others. Almost nothing is working.

platform-implementation.js:20 ERROR REPORTING ERROR Error: Function rate limit exceeded
    at eval (platform-implementation.js:20:26536)
    at n (platform-implementation.js:20:22763)
    at l (platform-implementation.js:51:9224)
    at e.value (platform-implementation.js:51:14047)
    at HTMLDocument.eval (platform-implementation.js:51:13472)
    at eval (platform-implementation.js:51:9522)
    at Function.value (platform-implementation.js:51:15276)
    at HTMLDocument.eval (platform-implementation.js:51:9498)

Error logged: Error: Failed to process thread response
    at Object.s [as extractThreadsFromThreadResponse] (pageWorld.js:11:6959)
    at Object.originalResponseTextLogger (pageWorld.js:8:31515)
    at pageWorld.js:10:19277
    at n (pageWorld.js:6:4562)
    at n (pageWorld.js:7:7088)
    at XMLHttpRequest.<anonymous> (pageWorld.js:10:19208)

 

Felipe Malara

unread,
Sep 12, 2022, 10:07:36 AM9/12/22
to InboxSDK
Any updates on this guys?

Aleem Mawani

unread,
Sep 12, 2022, 10:43:35 AM9/12/22
to Felipe Malara, InboxSDK
We have a fix rolling out shortly. Gmail ramped an experiment late Saturday night.

--
You received this message because you are subscribed to the Google Groups "InboxSDK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inboxsdk+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/inboxsdk/a2f6a16e-ab0b-4691-84af-5d064c47a2e6n%40googlegroups.com.

jer...@salesflare.com

unread,
Sep 12, 2022, 10:46:16 AM9/12/22
to InboxSDK
Hey guys! Just an idea, but if I'm not mistaken (I may be - this is just top of my head) the thread id is just the id of the first email in the thread. That may help for a temp fix.

Aleem Mawani

unread,
Sep 12, 2022, 10:51:36 AM9/12/22
to jer...@salesflare.com, InboxSDK
Not always unfortunately. This error is a symptom of a larger problem that Gmail has changed its request/response format so our parsing was failing. That parsing is used in multiple SDK methods.

Unfortunately Gmail went from a really small rollout to widespread rollout in one giant step so we missed it before they ramped it. Will figure out a better solution for next time but we do have a fix in the works and should be out in the next few hours.

--
You received this message because you are subscribed to the Google Groups "InboxSDK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inboxsdk+u...@googlegroups.com.

Amiram Korach

unread,
Sep 12, 2022, 10:52:59 AM9/12/22
to Aleem Mawani, Felipe Malara, InboxSDK
What about making the lib open-source? I'm sure this could have been fixed already.

Aleem Mawani

unread,
Sep 12, 2022, 11:00:29 AM9/12/22
to Amiram Korach, Felipe Malara, InboxSDK
Happy to start a seperate thread on that, but we're focused on resolving this issue asap first.

Amiram Korach

unread,
Sep 12, 2022, 11:01:42 AM9/12/22
to Aleem Mawani, Felipe Malara, InboxSDK
Sure I didn't mean to do that now, but I think this is really necessary. There are a bunch of threads about that.

Walter

unread,
Sep 12, 2022, 1:05:03 PM9/12/22
to InboxSDK
It seems you updated the app, so no more error message. Thank you!

We still see an issue: for new email, composeView.on ('sent' is correctly fired and we receive getThreadID and getMessageID.
But when you answer an existing email (inline form)  composeView.on ('sent' doesn't seem to be fired so we don't have access to the threadID and messageID.


Amiram Korach

unread,
Sep 12, 2022, 1:51:11 PM9/12/22
to Walter, InboxSDK
There is a new error now. Still many things are not working.

Error in injected script TypeError: Cannot read properties of null (reading '4')
    at Object.requestChanger (pageWorld.js:9:4354)
    at pageWorld.js:11:1112
    at r (pageWorld.js:7:21107)
    at Generator._invoke (pageWorld.js:7:22187)
    at e.<computed> [as next] (pageWorld.js:7:21286)
    at r (pageWorld.js:7:21107)
    at c (pageWorld.js:7:22619)
    at Generator._invoke (pageWorld.js:7:21964)
    at e.<computed> [as next] (pageWorld.js:7:21286)
    at n (pageWorld.js:1:3646) undefined

You received this message because you are subscribed to a topic in the Google Groups "InboxSDK" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/inboxsdk/kD21yqA-TOk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to inboxsdk+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/inboxsdk/fcb5e44e-0ea5-4f41-8ba8-48cfbb4e8c21n%40googlegroups.com.

Amiram Korach

unread,
Sep 12, 2022, 1:52:49 PM9/12/22
to Walter, InboxSDK
Also another bug that happened a week ago but appeared today again:
Error logged: Error: Failed to find gmail supportMenu
    at eval (platform-implementation.js:22:13293)
    at b (platform-implementation.js:7:22861)
    at _.dispatch (platform-implementation.js:8:5159)
    at y._emitValue (platform-implementation.js:8:5817)
    at y._handlePrimaryValue (platform-implementation.js:8:1970)
    at y._handlePrimaryAny (platform-implementation.js:8:2292)
    at _$handlePrimaryAny (platform-implementation.js:8:1836)
    at b (platform-implementation.js:7:22828)
    at _.dispatch (platform-implementation.js:8:5159)
    at t._emitValue (platform-implementation.js:8:5817)
    at t._onTick (platform-implementation.js:8:9196)
    at _$onTick (platform-implementation.js:7:23314)

    at eval (platform-implementation.js:51:9522)
    at Function.value (platform-implementation.js:51:15276)
    at eval (platform-implementation.js:51:9498) 

Meichen Zhou

unread,
Sep 12, 2022, 4:13:24 PM9/12/22
to InboxSDK
Hi all, we just rolled out a couple more fixes, please refresh to the latest version (or upgrade to the latest npm package if you're using it). 

The latest version should address `Error in injected script TypeError: Cannot read properties of null (reading '4')` issue and composeView.on ('sent') not being sent issue.

`Failed to find gmail supportMenu` isn't related to the process thread response fixing from the original report. 

Amiram Korach

unread,
Sep 12, 2022, 4:45:47 PM9/12/22
to Meichen Zhou, InboxSDK
Thanks. All the errors from yesterday are gone, but the supportMenu error is back. The handler registered by registerComposeViewHandler is not being called.

This error appears 10~ seconds after a compose window is being opened

Error logged: Error: Failed to find gmail supportMenu
    at eval (platform-implementation.js:22:13293)
    at b (platform-implementation.js:7:22861)
    at _.dispatch (platform-implementation.js:8:5159)
    at y._emitValue (platform-implementation.js:8:5817)
    at y._handlePrimaryValue (platform-implementation.js:8:1970)
    at y._handlePrimaryAny (platform-implementation.js:8:2292)
    at _$handlePrimaryAny (platform-implementation.js:8:1836)
    at b (platform-implementation.js:7:22828)
    at _.dispatch (platform-implementation.js:8:5159)
    at t._emitValue (platform-implementation.js:8:5817)
    at t._onTick (platform-implementation.js:8:9196)
    at _$onTick (platform-implementation.js:7:23314)
    at eval (platform-implementation.js:51:9522)
    at Function.value (platform-implementation.js:51:15276)
    at eval (platform-implementation.js:51:9498)

Original error stack:

Error: Failed to find gmail supportMenu
    at eval (https://www.inboxsdk.com/build/platform-implementation.js:22:13293)
    at b (https://www.inboxsdk.com/build/platform-implementation.js:7:22861)
    at _.dispatch (https://www.inboxsdk.com/build/platform-implementation.js:8:5159)
    at y._emitValue (https://www.inboxsdk.com/build/platform-implementation.js:8:5817)
    at y._handlePrimaryValue (https://www.inboxsdk.com/build/platform-implementation.js:8:1970)
    at y._handlePrimaryAny (https://www.inboxsdk.com/build/platform-implementation.js:8:2292)
    at _$handlePrimaryAny (https://www.inboxsdk.com/build/platform-implementation.js:8:1836)
    at b (https://www.inboxsdk.com/build/platform-implementation.js:7:22828)
    at _.dispatch (https://www.inboxsdk.com/build/platform-implementation.js:8:5159)
    at t._emitValue (https://www.inboxsdk.com/build/platform-implementation.js:8:5817)
    at t._onTick (https://www.inboxsdk.com/build/platform-implementation.js:8:9196)
    at _$onTick (https://www.inboxsdk.com/build/platform-implementation.js:7:23314)
    at e.value (https://www.inboxsdk.com/build/platform-implementation.js:51:14189)
    at eval (https://www.inboxsdk.com/build/platform-implementation.js:22:13283)
    at b (https://www.inboxsdk.com/build/platform-implementation.js:7:22861)
    at _.dispatch (https://www.inboxsdk.com/build/platform-implementation.js:8:5159)
    at y._emitValue (https://www.inboxsdk.com/build/platform-implementation.js:8:5817)
    at y._handlePrimaryValue (https://www.inboxsdk.com/build/platform-implementation.js:8:1970)
    at y._handlePrimaryAny (https://www.inboxsdk.com/build/platform-implementation.js:8:2292)
    at _$handlePrimaryAny (https://www.inboxsdk.com/build/platform-implementation.js:8:1836)
    at b (https://www.inboxsdk.com/build/platform-implementation.js:7:22828)
    at _.dispatch (https://www.inboxsdk.com/build/platform-implementation.js:8:5159)
    at t._emitValue (https://www.inboxsdk.com/build/platform-implementation.js:8:5817)
    at t._onTick (https://www.inboxsdk.com/build/platform-implementation.js:8:9196)
    at _$onTick (https://www.inboxsdk.com/build/platform-implementation.js:7:23314)

al...@streak.com

unread,
Sep 12, 2022, 7:50:09 PM9/12/22
to InboxSDK
These should all be fixed (with the exception of "Failed to find gmail supportMenu" which is a seperate issue)

Amiram Korach

unread,
Sep 12, 2022, 11:47:42 PM9/12/22
to al...@streak.com, InboxSDK
Is there any estimate when the supportMenu issue will be fixed. It's Blocking the development here. I guess users will see that too when they get the gmail update.

Zaheer U Deen Babar

unread,
Sep 14, 2022, 8:50:17 AM9/14/22
to InboxSDK
hi @all
i'm facing an issue with multiple compose box link of thread is attached below.
it would be really appreciated if anyone could help with that.
thanks.
Reply all
Reply to author
Forward
0 new messages