Google drive image gives 403 forbidden error Ask Question

1,027 views
Skip to first unread message

Nwekar Mahdi

unread,
Sep 15, 2022, 4:56:24 PM9/15/22
to Google Ads API and AdWords API Forum

I am using google drive to show images on a website. I'm using the following url to show the images:

https://drive.google.com/uc?export=view&id={fileId}

It works fine on most occasions, but some users don't see the images and get the following error message:

Failed to load resource: the server responded with a status of 403 ()

The image files and folders on the google drive are shared with everybody with a link to see. The problem does not seem browser related.

Anyone an idea how to fix this? Are there some things I forgot to do (do I need some kind of API key in the link)?

Google Ads API Forum Advisor

unread,
Sep 15, 2022, 9:58:57 PM9/15/22
to nwekar....@gmail.com, adwor...@googlegroups.com
Hi Nwekar,

Thank you for raising your concern.

Please note that this forum is dedicated for Google Ads API and AdWords API related concerns only. Since your concern is more specific to Google Drive, then I am afraid that our team would not be able to provide support as it is outside of our expertise already.

With this, I would suggest to reach out to the more equipped team that can provide support here via this link.

Regards,
Google Logo
Ernie John
Google Ads API Team
 


ref:_00D1U1174p._5004Q2eP4mn:ref
Reply all
Reply to author
Forward
0 new messages