Salesforce Integration Testing

Status
Not open for further replies.

Brian Fish

Customer
Joined
Feb 1, 2018
Messages
2
Reaction score
0
Playing around with integration with salesforce, received this error when running a test.

Server returned a non successful status code - HTTPStatusCode=BadRequest - Reason=Bad Request - Content=[{"message":"\nContact(Id,FirstName,LastName,AssistantPhone,Fax,HomePhone,MobilePhone\n ^\nERROR at Row:1:Column:71\nNo such column 'AssistantPhone' on entity 'Contact'. 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"}]

Does this mean I have to adjust something on the Salesforce side, or the 3cx side?
 
Worked it out, was some tweaking on salesforce side.
 
Those are hidden fields in the Salesforce configuration. The way to solve it is:
  • Go to “Setup Home > Objects and Fields > Object Manager > Contact > Fields.”
  • Click on the field that you want to make visible, for example “AssistantPhone”.
  • Press the “View Field Accessibility” button on the upper right side of the screen.
  • Click on the “Hidden” label on the right of “Standard User”.
  • Under the “Field-Level Security” check the “Visible” option.

Repeat the procedure for other entities.
 
Status
Not open for further replies.

Forum statistics

Threads
112,148
Messages
590,962
Members
165,168
Latest member
Stephan Eusebe