i would start by comparing my permissions on the 2 buckets. perhaps there
is a service account or something that needs permission on the bucket that
is not working?
On Monday, January 18, 2016 at 4:05:57 AM UTC-8, John Smith wrote:
>
> I have created a new bucket and everything seems to work.
> The old bucket does not work, but I still need to use it.
> How can I fix this?
>
> On Sunday, January 17, 2016 at 8:23:23 PM UTC+2, John Smith wrote:
>>
>>
>> Hey,
>>
>> Today I have introduced a new feature in my application which includes
>> the image.ServeURL() API call.
>>
>> Unfortunately every call to this API returns an error:
>> "API error 1 (images: UNSPECIFIED_ERROR)"
>>
>> This happens in my production environment but I fail to reproduce it on
>> my development environment (also deployed to the app engine).
>> As far as I can tell everything is exactly the same in these two
>> environments.
>>
>> Relevant piece of code:
>>
>> blobkey := fmt.Sprintf("/gs/%s/%s", bucketName, fqdn)
>> blobKey, err := blobstore.BlobKeyForFile(ctx, blobkey)
>> if err != nil {
>> return fmt.Errorf("blobkey failure: %v", err)
>> }
>> servingURL, err := image.ServingURL(ctx, blobKey,
>> &image.ServingURLOptions{Secure: true})
>> if err != nil {
>> return fmt.Errorf("ServeURL failure: %v", err) // <-- fails here
>> }
>>
>>
>> May you please help me shed some light or suggest a path to debug this?
>>
>>
>> Thanks,
>> John.
>>
>
--
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/aebb6da1-ce95-4114-b423-79cfdaa0e31a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.