SWC-1103: try to parse the reason for the error if BadRequestException
Merge branch 'SWC-1103-release-24' into develop
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.