ensure that hpfeed_id is an ObjectId
store error state in database.

close #6