google-api-python-client icon indicating copy to clipboard operation
google-api-python-client copied to clipboard

Private Drive Photos in the Slides API

Open jackwilmerding opened this issue 1 year ago • 4 comments

Hi. I'm using a client oauth that has both full Drive and full Slides scope. Given this, why can I not use private drive images with the CreateImageRequest? This is somewhat experience-breaking, as most people do not want to make personal/school/work images for slide decks public.

I was following this tutorial on youtube: https://www.youtube.com/watch?v=8LSUbKZq4ZY

Here was the exact error message: <HttpError 400 when requesting [request url] returned "Invalid requests[0].createImage: There was a problem retrieving the image. The provided image should be publicly accessible, within size limit, and in supported formats.". Details: "Invalid requests[0].createImage: There was a problem retrieving the image. The provided image should be publicly accessible, within size limit, and in supported formats.">

I have confirmed these images exist at the provided URIs and comply with image size and format restrictions, so it's definitely a private/public image issue. If a google developers project has credentials for both services, is it not possible to get these private images? Thanks for considering my question.

jackwilmerding avatar Aug 09 '23 19:08 jackwilmerding

Facing the same issue here. Can someone from Google team chime in on here?

mikepietruszka avatar Sep 11 '23 21:09 mikepietruszka

@parthea Is there a plan to add this to the roadmap? I'd just like to know so I can stop spinning my wheels on it. Thank you!

jackwilmerding avatar Oct 02 '23 21:10 jackwilmerding

@parthea any update to this? would be super, super helpful since I'm making a bunch of plots/tables that have to be uploaded as images

zevburton avatar Nov 02 '23 14:11 zevburton

+1

jhsul avatar Nov 20 '23 16:11 jhsul