exception handling in datastore write operations
oauth authentication must use bearer challenge scheme