Raise errors when API returns unsuccessful response

:boom: :jack_o_lantern: :fire: :fish: :coffee: