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

Inscrutable error on attempting to add site #121

Open
afk4life opened this issue Dec 15, 2020 · 15 comments
Open

Inscrutable error on attempting to add site #121

afk4life opened this issue Dec 15, 2020 · 15 comments
Assignees
Labels

Comments

@afk4life
Copy link

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")

@georgeh
Copy link
Contributor

georgeh commented Dec 16, 2020

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

@georgeh georgeh self-assigned this Dec 16, 2020
@metabreakr
Copy link

metabreakr commented Dec 16, 2020

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.

@afk4life
Copy link
Author

afk4life commented Dec 16, 2020 via email

@georgeh
Copy link
Contributor

georgeh commented Dec 17, 2020

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

@afk4life
Copy link
Author

afk4life commented Dec 17, 2020 via email

@benchilcote
Copy link

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"

@andrewspittle
Copy link

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.

@JoshuaGoode
Copy link

JoshuaGoode commented Dec 24, 2020

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
Copy link

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.

@afk4life
Copy link
Author

afk4life commented Dec 24, 2020 via email

@TeniCola
Copy link

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.

@kosiew
Copy link

kosiew commented Apr 15, 2021

Another issue here:
#3909684-zen

@zdenys
Copy link

zdenys commented Jun 23, 2021

4080645-zd-woothemes AT site

@sajmes
Copy link

sajmes commented Mar 12, 2022

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.

@zdenys
Copy link

zdenys commented Nov 2, 2022

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

Suggested the troubleshooting steps from above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

10 participants