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 Mar 24, 2021, at 12:10 PM, Shaun Budhram <shaunbudh...@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 <http://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:
> 
> https://groups.google.com/g/google-appengine/c/0-U4xe0Dp0M/m/Lxc9AAw2AQAJ 
> <https://groups.google.com/g/google-appengine/c/0-U4xe0Dp0M/m/Lxc9AAw2AQAJ>
> 
> This line in particular:
> 
> It created a new app-id.appspot.com <http://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-appengine+unsubscr...@googlegroups.com 
> <mailto:google-appengine+unsubscr...@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
>  
> <https://groups.google.com/d/msgid/google-appengine/546775b5-e326-4bed-a4bc-0d74adead697n%40googlegroups.com?utm_medium=email&utm_source=footer>.
> <Screen Shot 2021-03-24 at 9.09.48 AM.png>

-- 
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-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/A02BF1F5-640D-4610-8A7F-ACBCB11C9DC8%40gmail.com.
  • [google-appengine]... Shaun Budhram
    • [google-appen... Shaun Budhram
      • Re: [goog... Joshua Smith
        • Re: [... Shaun Budhram
          • R... 'George (Cloud Platform Support)' via Google App Engine
            • ... Shaun Budhram
              • ... 'George (Cloud Platform Support)' via Google App Engine
                • ... Shaun Budhram
                • ... 'George (Cloud Platform Support)' via Google App Engine

Reply via email to