Merge pull request #745 from jay-hodgson/develop

SWC-1103: if unable to figure out the reason for the BadRequestException, then try to parse it out of the response.
fix build