Handle case of no data being available (404s) by returning an empty hash rather than crashing
Handle some error situations