On Mar 24, 2021, at 12:10 PM, Shaun Budhram <shaunb...@gmail.com> wrote:
Also for reference, this is what the permissions on the the bucket look like. I think these look correct, but I'm not sure? These were created automatically (except for my name, which I added as a test)
<Screen Shot 2021-03-24 at 9.09.48 AM.png>On Wednesday, March 24, 2021 at 8:15:04 AM UTC-7 Shaun Budhram wrote: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 <appid>.appspot.com was created.The problem I'm having is that whenever my app uses 'blobstore.create_upload_url' to create an upload URL, the the upload/redirect to the handler is now failing. I searched the forum and found this post:This line in particular:It created a new app-id.appspot.com bucket but my app engine service account did not have permissions. Once I gave it permission it started working again with the blobstore items showing up in the new "default" bucket.This suggests that my app needs permission to the storage bucket, which didn't happen automatically.My question is, is this a code-level change that I need to perform when creating the upload url, or is this a configuration somewhere in the web console? Does anyone know how I can link permissions between this storage bucket and my app engine service account for this app?Any help is greatly appreciated. Thanks!
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/546775b5-e326-4bed-a4bc-0d74adead697n%40googlegroups.com.
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'. This worked! But, I really don't want this public. I just want my app to be able to use it. So, I guess I just need to figure out what's misconfigured here and how to fix it.