felipe.solve | 2018-12-03 17:07:44 UTC | #1
Hello,
I’m trying to use the Salesforce data action: “Get Account By Phone Number” and “Get Most Recent Open Case By Contact Id”, but when invoke this data actions I receive the responses:
{ "status": 400, "code": "bad.request", "message": "The request could not be understood by the server due to malformed syntax.", "messageParams": {}, "contextId": "91dbbf68-ca86-47cf-9c02-88bfc11d9be2", "details": [], "errors": [ { "status": 400, "code": "BADREQUEST", "message": "REST call for action execute failed. Message:Request to backend service failed. Response from web service: [{\"message\":\"\\nPHONE FIELDS RETURNING Account(AccountNumber, AccountSource, AnnualRevenue\\n ^\\nERROR at Row:1:Column:56\\nNo such column 'AccountNumber' on entity 'Account'. If you are attempting to use a custom field, be sure to append the '_c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.\",\"errorCode\":\"INVALID_FIELD\"}] [91dbbf68-ca86-47cf-9c02-88bfc11d9be2]", "messageParams": {}, "details": [], "errors": [] } ] }
someone could help me?
anon28066628 | 2018-12-03 17:53:29 UTC | #2
[{"message":"\nPHONE FIELDS RETURNING Account(AccountNumber, AccountSource, AnnualRevenue\n ^\nERROR at Row:1:Column:56\nNo such column 'AccountNumber' on entity 'Account'.
When using default SFDC actions, typically this means your Account record type has been changed so that it doesn't include one or more of the common default fields. Does your Account record type have an AccountNumber field, and are you sure that is the API name for the field?
Jason_Mathison | 2018-12-03 18:53:32 UTC | #3
Hi Felipe,
If the issue isn't that you have customized your Account record type, is your organization configured to be in a language other than English? If so, what language are you using?
--Jason
system | 2019-01-03 18:53:34 UTC | #4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 4090