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/62b4261d-0eba-4e54-b9da-b9f8d7562fa8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to