Merged HTTP error into API error