Troubleshooting "accounts.google.com refused to connect" message

If Google can’t authenticate your access to Google drive for whatever reason, you will be prompted with an error message “accounts.google.com refuses to connect”. This is due to security reasons on Google's end, but there are several reasons why this happens. To resolve this, check the following:

  • Double-check that you are logged into Google (especially if you are logging in on a different computer, in incognito mode, etc.).

  • Ensure that your Chrome settings are not blocking "Third Party Cookies."

  • Ensure that no extensions are blocking "Third Party Cookies."

  • In Safari, ensure you have disabled "Prevent cross-site tracking" under Preferences > Privacy > Website Tracking settings.

  • Does the issue persist after signing into Google and Guru in a different web browser?

Troubleshooting the "you need permission" message

If you run into the "you need permission to access this file" message, this more than likely indicates that you are logged into Google under a different email that does not have access to the file in question. To resolve this, review the file's Share settings in Google Drive and confirm that you are logged into the correct Google Account with access to this file.

Troubleshooting 403 error when viewing embedded PDFs from Google Drive.

PDFs uploaded to Google Drive operate differently than Google Docs and Sheets and need an embed code rather than a link to iFrame them in any other location. Check out the instructions to find the embed code here.


Still having trouble viewing embedded files from Google?

The below steps require a bit of manual manipulation of the URL that is used to embed but is the most foolproof way to embed documents and slides into Guru Cards to ensure you won't run into trouble with viewing the content.

The steps are slightly different depending on the Google application you are using, but are roughly the same. For this example, we will use Google Docs. Here are the steps:

  1. Take the URL of the file in question from the browser: https://docs.google.com/document/d/abcdefg/edit#

  2. Replace docs.google.com/document with drive.google.com/file
    https://drive.google.com/file/d/abcdefg/edit#

  3. Remove the edit# portion and any other portion of the URL following:
    https://drive.google.com/file/d/abcdefg/

  4. Add preview to the end
    https://drive.google.com/file/d/abcdefg/preview

  5. Your new URL should look like:
    https://drive.google.com/file/d/abcdefg/preview

  6. Copy this URL and paste it into the iFrame tool in your Guru Card and the file should render without issues. Use the slider at the bottom of the iFrame to resize the frame.


☎️ Contact us

If you continue to run into trouble viewing embedded content from Google don't hesitate to reach out to us in chat or at support@getguru.com.


📑 Related articles


Did this answer your question?