Support » Plugin: Image and video gallery from Google Drive » Getting access denied 403 errors in console

  • I installed the plugin, created project in google cloud copied the client id and client secret. Tried to play videos from google drive and it worked once. After that I am getting access denied 403 errors in developer console and clicking on a video doesnt run.

    • This topic was modified 1 month, 3 weeks ago by wpocean.
    • This topic was modified 1 month, 3 weeks ago by wpocean.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter wpocean

    (@wpocean)

    That access denied was fixed by changing video files permission in google drive from anyone can view with the link to restricted.

    But now for large files for which google drive show cant scan download any way page, instead of getting the video directly its getting stuck to that download any way page hence no video plays and I get cors error in console.

    Cross-Origin Read Blocking (CORB) blocked cross-origin response <URL> with MIME type text/html. See <URL> for more details.

    Plugin Author Marek Dědič

    (@marekdedic)

    Hi, for videos, you have to set them to “Anyone with a link can view”.

    Could you please a) Try with images and b) give me a link to the website in question? Either here or at developer@dedic.eu if you don’t want to share it publicly.

    Thanks,
    Marek

    Thread Starter wpocean

    (@wpocean)

    I tried anyone with the link can view and I was getting cors error. I tried restricted I got denied error.

    After more troubleshooting by using anyone with the link can view, the error in the console for videos longer than 100mb is actually from google not your plugin. it says

    We’re sorry…
    … but your computer or network may be sending automated queries. To protect our users, we can’t process your request right now.

    Do you know any workaround?

    Plugin Author Marek Dědič

    (@marekdedic)

    Hi,
    that seems to be Google blocking you as a user (not as a website, you as the particular client). I have no idea what to do to prevent that 🙁

    Google’s ways are mysterious I guess…

    Marek

    Thread Starter wpocean

    (@wpocean)

    Another problem I am getting is the videos greater than 100mb size dont run. In console it shows access denied. All the files that show google cant scan, download anyway page dont run

    Plugin Author Marek Dědič

    (@marekdedic)

    Hi,
    the videos with the “cant scan, download anyway” notice are the reason you have to set them to “anyone with a link can view” – that is required for the plugin to work around this…

    Marek

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.