Removed the error clause {error,{Status Body}}, maybe this should be added to all errors later in order to handle errors better?