Handle error and response body better.
Merge pull request #1 from HuminInc/HVA-6497

HVA-6497