added and error and a null spec for the example api
removed empty hash