Fixing APIs to return HttpStatus and Salesforce error code and description