What if I'm only using blobstore instead of Cloud Storage / bucket via the blobstore API? My program used to work 3 years ago but stopped working recently and I couldn't figure out why. It works on localhost devappserver but with 503 error while in production.
Since I'm not using the cloud storage I think the bucket ACL are irrelevant? On Friday, August 11, 2017 at 11:47:24 PM UTC+8, Yannick (Cloud Platform Support) wrote: > > Hello Niall, this error usually means that your App Engine service account > does not have WRITE permissions to your default Google Cloud Storage bucket. > > You should ensure that your bucket ACLs > <https://cloud.google.com/storage/docs/access-control/create-manage-lists#set-an-acl> > > are properly setup in a way that will let the service accounts (or a role > the service account belongs to) access the bucket. You should also make > sure to grant your service account > <https://cloud.google.com/iam/docs/granting-roles-to-service-accounts> the > roles it will need to access your bucket, for instance "roles/ > storage.admin" or at the very least in this case "roles/ > storage.objectCreator", though there is no harm in simply giving your App > Engine service account the Editor role. > > On Friday, August 11, 2017 at 9:02:53 AM UTC-4, Niall Moody wrote: >> >> Hi, >> >> For the past couple of weeks I've been unable to upload to the blobstore, >> getting a 503 in response. This is with code that previously worked with no >> problem, but I've since gone over my code, adding in extra logging etc., >> and I can't see anything obviously wrong. I've even tried plugging in the >> example >> code >> <https://cloud.google.com/appengine/docs/standard/python/blobstore/#Python_Complete_sample_application> >> >> from the blobstore documentation, and I still get a 503, suggesting (I >> assume) that it's not a problem with my code specifically. >> >> This is purely when the app is deployed; I don't have any issues when >> running in the dev server. Also, I've checked, and I'm well within my >> quotas. >> >> Given I'm in the bronze tier, is there any way to get more information >> about why my uploads are being rejected? >> >> Or, is this an indication that I should be migrating over to cloud >> storage? (given it's just a small personal site, I was hoping to avoid the >> extra workload involved in a migration) >> >> >> Thanks, >> >> - Niall Moody. >> > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/f651547a-2bfc-4099-81e5-a5f288c9bd93%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
