Re: [google-appengine] Uploads to Blobstore failing

2021-03-25 Thread 'George (Cloud Platform Support)' via Google App Engine
You may find related information on the Images API for Python 2 Overview page . You are right about opening a separate thread for each separate issue, in principle. Maybe worth

Re: [google-appengine] Uploads to Blobstore failing

2021-03-24 Thread Shaun Budhram
Thanks. I was able to get this working by getting the service account with 'gcloud iam service-accounts list'. I put in this value as a new 'Member', and gave it the roles 'Storage Legacy Bucket Owner' and 'Storage Legacy Object Owner'. This uploads the files properly. However, since I'm

Re: [google-appengine] Uploads to Blobstore failing

2021-03-24 Thread 'George (Cloud Platform Support)' via Google App Engine
To determine which service account is involved, you may check Listing service accounts . To grant to your newly identified service account the desired role, Granting, changing, and revoking access to resources

Re: [google-appengine] Uploads to Blobstore failing

2021-03-24 Thread Shaun Budhram
Thanks George for the comment. How can I verify that permission is on? I tried turning on 'Uniform' access control, and that didn't work. Also, as a test, I made the container 'Public' - meaning I added 'allUsers' as a 'Storage Legacy Bucket Owner', and a 'Storage Legacy Object Owner'.

Re: [google-appengine] Uploads to Blobstore failing

2021-03-24 Thread 'George (Cloud Platform Support)' via Google App Engine
You are right, owners of the project are expected to enjoy the needed permission. More specifically, the service account should be granted the objects.create permission per bucket. On Wednesday, 24 March 2021 at 13:14:33 UTC-4 shaunb...@gmail.com wrote: > Hi Joshua! Yes, this is the exact

Re: [google-appengine] Uploads to Blobstore failing

2021-03-24 Thread Shaun Budhram
Hi Joshua! Yes, this is the exact thread I'm referencing in the initial post. I saw someone mentioned there was a solution in that thread with setting permissions, but they didn't give any specifics on exactly what needed to be set. If anyone knows what exactly 'permission magic' is needed

Re: [google-appengine] Uploads to Blobstore failing

2021-03-24 Thread Joshua Smith
Search the list archives last October for this subject "Uploads to Legacy Blobstore are Failing with 500, nothing in the logs" I ended up giving up and switching to new blobstore, but at the end of the thread, I think someone did identify the permission magic to fix the problem. -Joshua > On

[google-appengine] Uploads to Blobstore failing

2021-03-24 Thread Shaun Budhram
Hi, I have an older application using the Blobstore API. I think I inadvertently upgraded to Google Cloud Storage when I used 'gcloud' to deploy the app. A new storage bucket .appspot.com was created. The problem I'm having is that whenever my app uses 'blobstore.create_upload_url' to