Skip navigation.
Home

google.appengine.api.datastore_errors.BadArgumentError: _app must not be empty.

Problem:
google.appengine.api.datastore_errors.BadArgumentError: _app must not be empty.
occured when calling db.put

Reason:
This is probably caused by running your program from outside of the app engine.

Solution:
Run it from the interactive console: http://localhost:8080/_ah/admin/interactive