Hey Frank,

It appears the URLs are indeed going stale if 404's are served. Generally, 
the pattern is meant to be used to generate a serving URL on the fly. You 
could write up a quick request handler which receives a request for the 
image, uses its blobkey to generate a serving URL, then sends a 302 
redirect response to that URL, which would resolve the issue.

Let me know if you have any further questions on top of this, I'll be happy 
to help.

Regards,

Nick
Cloud Platform Community Support

On Thursday, June 23, 2016 at 10:10:48 PM UTC-4, Frank Grossman wrote:
>
> I have a question using the google.appengine.api.images api.  I current 
> generate a URL using images.get_serving_url when I upload an image.  I then 
> store the URL in the datastore along with the Blob key.  I then just use 
> the URL for displaying all the images.  This website has been up for years 
> and just recently many of the URLs are getting 404s.  I can re-generate the 
> URLs from the Blob keys.  But wondering if there is a usage pattern that I 
> am missing? Do these URLs have a lifetime on them?
>

-- 
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 post to this group, send email to google-appengine@googlegroups.com.
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/b7bf8d49-a072-4455-85ed-cc86764e3965%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to