0
votes

I am very new to Google App engine and was trying to understand bolb storage and api, but cant get it working.

I followed the the below tutorial from goolge on using blobstore api

https://cloud.google.com/appengine/docs/python/blobstore/

Github: https://github.com/GoogleCloudPlatform/appengine-blobstore-python/blob/master/main.py

I always get 404 not found error, the image is getting uploaded to the blob store but is not being retrieved. Any help is greatly appreciated.

2

2 Answers

0
votes

Removing the user authentication from user photo class resolved the issue. Also remove it from instantiation line user = ndb.StringProperty()

0
votes

This is https://github.com/GoogleCloudPlatform/appengine-blobstore-python/issues/3

The tl;dr is that being logged in fixes this.

I've submitted a pull request to fix the example.