Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Failed to execute 'json' on 'Response'" error in console on message send #5886

Open
sosnovsky opened this issue Dec 23, 2024 · 0 comments
Open
Assignees
Milestone

Comments

@sosnovsky
Copy link
Collaborator

sosnovsky commented Dec 23, 2024

I noticed such error in console which sometimes occurs when sending encrypted message:

Failed to execute 'json' on 'Response': Unexpected end of JSON input

SyntaxError: Unexpected end of JSON input
at Api.ajax (chrome-extension://EXTENSION_ID/js/common/api/shared/api.js:223:73)
at async performAjaxRequest (chrome-extension://bnjglocicdkmhmoohhfkfkbbkejdhdgc/js/common/api/authentication/google/google-oauth.js:93:33)
at async GoogleOAuth.apiGoogleCallRetryAuthErrorOneTime (chrome-extension://bnjglocicdkmhmoohhfkfkbbkejdhdgc/js/common/api/authentication/google/google-oauth.js:101:24)
at async Google.gmailCall (chrome-extension://bnjglocicdkmhmoohhfkfkbbkejdhdgc/js/common/api/email-provider/gmail/google.js:38:20)
at async Gmail.draftDelete (chrome-extension://bnjglocicdkmhmoohhfkfkbbkejdhdgc/js/common/api/email-provider/gmail/gmail.js:90:20)
at async ComposeDraftModule.draftDelete (chrome-extension://bnjglocicdkmhmoohhfkfkbbkejdhdgc/chrome/elements/compose-modules/compose-draft-module.js:109:25)
at async Promise.all (index 0)
at async ComposeSendBtnModule.doSendMsgs (chrome-extension://bnjglocicdkmhmoohhfkfkbbkejdhdgc/chrome/elements/compose-modules/compose-send-btn-module.js:292:17)
at async ComposeSendBtnModule.extractProcessSendMsg (chrome-extension://bnjglocicdkmhmoohhfkfkbbkejdhdgc/chrome/elements/compose-modules/compose-send-btn-module.js:95:32)
at <async> ajax (/extension/js/common/api/shared/api.ts:98:4)
at <async> performAjaxRequest (/extension/js/common/api/authentication/google/google-oauth.ts:88:31)
at <async> apiGoogleCallRetryAuthErrorOneTime (/extension/js/common/api/authentication/google/google-oauth.ts:85:4)
at <async> gmailCall (/extension/js/common/api/email-provider/gmail/google.ts:19:28)
at <async> draftDelete (/extension/js/common/api/email-provider/gmail/gmail.ts:81:23)
@sosnovsky sosnovsky added this to the 8.5.9 milestone Dec 23, 2024
@sosnovsky sosnovsky changed the title "Failed to execute 'json' on 'Response'" error on message send "Failed to execute 'json' on 'Response'" error in console on message send Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants