google-docs-add-on icon indicating copy to clipboard operation
google-docs-add-on copied to clipboard

Inscrutable error on attempting to add site

Open afk4life opened this issue 4 years ago • 15 comments

I go from Docs to Add a Wordpress site, which first throws some error about insecure content which does not make sense as the site is 100% SSL, then after successful login to WP I cannot add it with the Google Script Error Exception: You do not have access to perform that action. Please ask the owner of this item to grant access to you. (line 191, file "Code")

afk4life avatar Dec 15 '20 21:12 afk4life

Thanks for letting us know, I'm looking into it

georgeh avatar Dec 16 '20 14:12 georgeh

I had a user in 3580489-zen get the following error when trying to connect their Business plan site: Token response not valid JSON: SyntaxError: Empty JSON string

It was working previously on their free site, before upgrading to a Business plan.

Testing on my own free site, I am unable to connect as well.

metabreakr avatar Dec 16 '20 21:12 metabreakr

For me there was no upgrade involved. I'm on a self-hosted site not on WordPress.com using the docs feature. I am wondering if it had something to do with the Google outage, because everything was fine until then.

Sent from my Pixel

On Wed, Dec 16, 2020, 16:37 Jonny R. [email protected] wrote:

I had a user get the following error when trying to connect their Atomic site: Token response not valid JSON: SyntaxError: Empty JSON string

It was working previously on their simple site, before upgrading to a Business plan.

Testing on my own simple site, I am unable to connect as well.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub http://click.dexterous.io/ls/click?upn=lHihUnidn2-2FNardJ4g0DTQpmW1V34D9qGUL-2FnXEzWr4t0dSYSWK7oZanjNUcP5BYqni-2BlQobDbuq45oVyT7nPv5W9qSbor2z4BXppbEWBk832hCZvaAfiW4fpLSSU3iLvNEd_U31jt5HgHBh7k3Grc5s4lzSMuqXP0FiYawcLbuuQjkU7S7bt4O07DwxQX2DYAhrV7fEXfgulgqUMLUlO-2BlKw0-2FyZfpA2zry5qqfDxk0FvWKZzs3o1ksUs5ekXGZkHpJo4unh79GBzJKFgbuqhFz1E7kFVYxbIISLHlAkhL1nH9yxQwqeYeiwFPb88qCUJpMhWBzpWCbJUGlnDofXIsjZ9Mvp4y7l2CmeD8TsOIJatg7-2FUBEYpUq-2B-2BJ-2BifargR2p8H-2BdUFKzGK1Pl2TVGgBU2FtHH1peYCdNFPgXn5JKEhrI-3D, or unsubscribe http://click.dexterous.io/ls/click?upn=lHihUnidn2-2FNardJ4g0DTTGFij7KRFbzYkn9odeeoHM2ZddamAMhD9TnlbeYKKCV5ia4HfncVcji69y3auPFADjF6c9Auh-2BXzqjE0ascD-2FEBkqEdJ7CnNu7jbNthL8PUhC8hujjV0dTiZEgKHc-2BMTw-3D-3DzmI3_U31jt5HgHBh7k3Grc5s4lzSMuqXP0FiYawcLbuuQjkU7S7bt4O07DwxQX2DYAhrV7fEXfgulgqUMLUlO-2BlKw0-2FyZfpA2zry5qqfDxk0FvWKZzs3o1ksUs5ekXGZkHpJoAv6Tm7Dks1Cg99qzHzI74b7jSYOjkSSA-2BfwP4zad-2FSz-2BTgab4vtu7rWguU-2FJYKIQEEh1Vft42QSGHOeDc6wQsVACD4o6VMEWKVBpdN2OLkDhWG2Gzv-2BORkHVa8kz5ayuCWKdsRVRZEHDoZymw-2BOvHvDnjfl1jXTogNBcCJQQfCE-3D .

afk4life avatar Dec 16 '20 22:12 afk4life

@afk4life can you give it another try and see if it's working for you now?

georgeh avatar Dec 17 '20 16:12 georgeh

I'm now getting "Error This API call is not allowed for this account." Prior to this, I had to re-connect the site to Wordpress.com for the third time. I've tried removing and re-adding the Docs Add-on, also, to no avail. The wordpress.com user is hgzt.

On Thu, 17 Dec 2020 at 11:44, George Hotelling [email protected] wrote:

@afk4life http://click.dexterous.io/ls/click?upn=lHihUnidn2-2FNardJ4g0DTfekZOyy87ybYM30lOxr5H8AkLHSxJstNcI6fD13XUoCD65t_U31jt5HgHBh7k3Grc5s4lxq7mAgdSxQBVPGNCWtbLlhEuZ3WNs5nX93DOz3joezZIMErrQvyQgAsyLIU0dS6xz9lpOwvnj7zuLDi2PGsAFrGA-2BjNMct1PDoz9PIld1kp-2FIkz7y6M-2FQc7PP82MDGGEDI8LHZZN6hY5r3Pw1R96DdEjKN13eh5IchRz9BVUuVwZpjkcUs9YgAav9f0xjCFoLhDQrVOhRV6-2BLSojQBdxdL5YF1LWvrsqzThDlEkw7ifCwQzEKW9Hm96pGJGcWY-2BCF7207AU7hrEAdppQqdwdRA-3D can you give it another try and see if it's working for you now?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub http://click.dexterous.io/ls/click?upn=lHihUnidn2-2FNardJ4g0DTQpmW1V34D9qGUL-2FnXEzWr4t0dSYSWK7oZanjNUcP5BYqni-2BlQobDbuq45oVyT7nPv5W9qSbor2z4BXppbEWBk97PWJQ8kaO9LNDDQ1Qqjd0YOYV_U31jt5HgHBh7k3Grc5s4lxq7mAgdSxQBVPGNCWtbLlhEuZ3WNs5nX93DOz3joezZIMErrQvyQgAsyLIU0dS6xz9lpOwvnj7zuLDi2PGsAFrGA-2BjNMct1PDoz9PIld1kpCIlKLdnmRSIL81GAir3vUuitlk5YrC9-2FAXQ0d4kqdNb3P6-2BpJ1vPqo0F9YOROTsRerZ-2BvLav1MgFNfwt4m-2FkQxatJ6KtMDUkwwdsdplK8stoezBpd4-2B6prM5Sz7j8s9Q4mx6pyxU4JOrQTns7-2FMfRZ-2FxDSMpmlfoH-2Bp5e76CJkE-3D, or unsubscribe http://click.dexterous.io/ls/click?upn=lHihUnidn2-2FNardJ4g0DTTGFij7KRFbzYkn9odeeoHM2ZddamAMhD9TnlbeYKKCV5ia4HfncVcji69y3auPFABNwRH0OZfCuhGby6h5ltwBKxvp3-2BdqJ3C6c-2BQKmY6e1CAn7I-2FAVvtTaf-2FGnsZlKfw-3D-3DTf3p_U31jt5HgHBh7k3Grc5s4lxq7mAgdSxQBVPGNCWtbLlhEuZ3WNs5nX93DOz3joezZIMErrQvyQgAsyLIU0dS6xz9lpOwvnj7zuLDi2PGsAFrGA-2BjNMct1PDoz9PIld1kp-2BE6ABE4-2FBsjBBP1imstrtv9-2F2r7E0QS3V86tFEgFlb7PlSfszLPCyrh4-2B3rT6BAXod9OroXX2X0MOpeUYqHNPjk7HIHEsl78XNhMIvrOvGI2Uvvfan1PkyCIhw5dDsRmveh6ODKfQLIZqaegAgnwFpJevTjYTliTdETSZMnYc-2BA-3D .

afk4life avatar Dec 17 '20 16:12 afk4life

Another report of this in 21740816-hc (follow up 3590833-zen)

Business Plan user getting error when trying to connect to their site via WordPress.com for Google Docs add-on: "Token response not valid JSON: SyntaxError: Empty JSON string"

benchilcote avatar Dec 21 '20 14:12 benchilcote

Behavior here seems inconsistent. I was able to successfully save a draft from Google Docs to my test site on WordPress.com. I set up a new connection, having not used the add-on before. After installing the extension I added my test site, linked to my WordPress.com account, and then successfully saved a test document. It appeared instantly on my test site as a draft, no errors along the way.

One note that may be intended behavior or may be an oddity: after adding my test site I did have to refresh the page in order for the option to send my Google Doc to the site to appear.

My browser for this testing was the current release of Chrome on macOS 10.15.7.

andrewspittle avatar Dec 24 '20 17:12 andrewspittle

Initially, I could not get my self-hosted or WordPress.com Business (Atomic) sites connected and things failed with Token response not valid JSON: SyntaxError: Empty JSON string.

Next, I completely removed the add-on from my Google account, cleared my browser cache, and then added it back.

After, I was able to successfully connect and post to: 1x self-hosted site, 2x WordPress.com Business (Atomic) sites, 1x WordPress.com simple site.

The only issue I had along the way was having to refresh after connecting the sites before seeing them in the app's toolbar.

Noting that the reports so far are self-hosted or WordPress.com Business (Atomic) sites.

JoshuaGoode avatar Dec 24 '20 17:12 JoshuaGoode

For users that continue to have issues with this, it may be worth trying the following.

  1. Disconnect WordPress.com for Google Docs on https://wordpress.com/me/security/connected-applications
  2. Select the option to Uninstall on https://workspace.google.com/marketplace/app/wordpresscom_for_google_docs/460536350236?pann=cwsdp&hl=en

After, try installing and connecting again.

JoshuaGoode avatar Dec 24 '20 17:12 JoshuaGoode

With one extra step that seems to be working. I needed to delete the site from Wordperss.com for Google Docs and re-add it (which still for some reason doesn't always acknowledge the login).

On Thu, 24 Dec 2020 at 12:56, VeryGoode [email protected] wrote:

For users that continue to have issues with this, it may be worth trying the following.

  1. Disconnect WordPress.com for Google Docs on http://click.dexterous.io/ls/click?upn=lHihUnidn2-2FNardJ4g0DTTqGT-2B2JYkuUPYZ-2FcDiPEYcgiMWN8-2BRwAQxvuIRKLrupjVZRQMNECd06XX43aUkiC62zB9zxEqDEUYqtrac60r0-3DyqQD_U31jt5HgHBh7k3Grc5s4l3H1LiZ45TuGHDB-2B32NMM4-2F-2FZ0QEvNyJid3XV9FSIjJDfQMjSo43yKmkZqqShw15YFDRXJ-2FHrx-2F1yuDI1gVfpINg0g42tUOmBSeSDzU-2FVV1A0PJlpnZ6EKyqa0AFg-2F-2FQEhpZY14HgEwO66c6XwQmNHBV-2B1syKTiXCCt8pFNR5qd2maL5z0S7xJJS5gNG7Z0tAR7r4gO4-2B8OKhqE7Pfga5wCUPvs1Z25mR8ZK5hjdRmFb4GZRHd5nU6pFM-2F0lm5VnHsMoQ-2Foc3Qu7Qodb1g11K-2BY-3D
  2. Select the option to Uninstall on http://click.dexterous.io/ls/click?upn=lHihUnidn2-2FNardJ4g0DTaNov46sSXh-2FPy5LY2az-2FuKS5faPNn9ZEEL8KDGhMEd-2FOCAMndzBW-2Fd9mXmMrRiWxEWTCWHxMES00b8L3iK6jFZFltKo5qD3VOdFjAJujqgtOlB0aYkgTJ8aiZJOgW4WciClTusbejdXMk-2Bi6julga8-3DbUVp_U31jt5HgHBh7k3Grc5s4l3H1LiZ45TuGHDB-2B32NMM4-2F-2FZ0QEvNyJid3XV9FSIjJDfQMjSo43yKmkZqqShw15YFDRXJ-2FHrx-2F1yuDI1gVfpINg0g42tUOmBSeSDzU-2FVV1A6ziIUqOHpDbCftbQVfDtxPzAFc-2FrDsW8Il5R2ckiNA030hTHpN8BsV9RqAp2L1unjNa3At7HsVObtsaD3Yk4cd3I0hIr-2FkLojC7A0weLEz-2Fcz6qiuAgEtVEOecsL9mpjwJ1Iv5usCDFj7y1TzPqD2V6zsYTRfQLXSl-2FJAYmtYrk-3D

After, try installing and connecting again.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub http://click.dexterous.io/ls/click?upn=lHihUnidn2-2FNardJ4g0DTQpmW1V34D9qGUL-2FnXEzWr4t0dSYSWK7oZanjNUcP5BYqni-2BlQobDbuq45oVyT7nPv5W9qSbor2z4BXppbEWBk8KBT2atsJy5-2FNKmHN3RqSrG4t5_U31jt5HgHBh7k3Grc5s4l3H1LiZ45TuGHDB-2B32NMM4-2F-2FZ0QEvNyJid3XV9FSIjJDfQMjSo43yKmkZqqShw15YFDRXJ-2FHrx-2F1yuDI1gVfpINg0g42tUOmBSeSDzU-2FVV1AO8xeKa6xLZtqYft2c5vjhg75rfLzrhVHpuUYya4oX9P1s0z7d25H-2FKZJlok-2F2EP5rMNbu5H0-2B1XzJEXnDXouNJjqEhcDITfHT2QXhHxqRyFBb3z5GiW1hHhM24B7hqybce8byEbqfcjeHO6HT6SVfaKFJ1nqdj6kA0opEqBE43k-3D, or unsubscribe http://click.dexterous.io/ls/click?upn=lHihUnidn2-2FNardJ4g0DTTGFij7KRFbzYkn9odeeoHM2ZddamAMhD9TnlbeYKKCV5ia4HfncVcji69y3auPFAAWX0zPeIggfkw9yjeFSQ4sXSawvsEGT6yk49JoJyMS4NUT1Fev8KOb4LwLb4U7PjA-3D-3DT7Dm_U31jt5HgHBh7k3Grc5s4l3H1LiZ45TuGHDB-2B32NMM4-2F-2FZ0QEvNyJid3XV9FSIjJDfQMjSo43yKmkZqqShw15YFDRXJ-2FHrx-2F1yuDI1gVfpINg0g42tUOmBSeSDzU-2FVV1ANkhoNzGG-2FbVCpsyObcGoWoEHZ-2BDgodDYwX1vt9XZZlKaXe7KX87T1caZZdBfikzp09aqunQdVQJ4Czz-2FV981gtdlMIwBs3RfwqZxK5HVDAWcak5VsVOP35EHqqy0IWkVNLXtKVAxGery3Fa8cgLhGZVnW1BXOB8MUqMuU9hQFJE-3D .

afk4life avatar Dec 24 '20 20:12 afk4life

Another user with another report in 29019480-hc (follow up 3909349-zen), Premium plan

We attempted the suggested solution, but ran into a snag when the user tried to reconnect to WordPress.com, as the error was still there. More context and link to discussion in the support interactions.

TeniCola avatar Apr 14 '21 23:04 TeniCola

Another issue here: #3909684-zen

kosiew avatar Apr 15 '21 05:04 kosiew

4080645-zd-woothemes AT site

zdenys avatar Jun 23 '21 12:06 zdenys

3424237-hc - error: error The Jetpack site encountered an error and could not process the API request.

Disconnecting/reconnecting from site and uninstalling/reinstalling app did not resolve the issue. It took a couple of attempts to reconnect. Once reconnected, we then saw a server error occurred while reading from storage. Error code PERMISSION_DENIED.

We worked around it by using a different site. Two other sites on same account do work with the add-on.

sajmes avatar Mar 12 '22 14:03 sajmes

Another case: 5676430-zd-woothemes with Token response not valid JSON: SyntaxError: Empty JSON string

Suggested the troubleshooting steps from above.

zdenys avatar Nov 02 '22 08:11 zdenys