salesforce - template issue

Status
Not open for further replies.

adencool

Customer
Joined
Jan 17, 2023
Messages
6
Reaction score
1
im testing intergration and getting this

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

thou in salesforce i do have this field?

Lead Field​

Fax​

Field LabelFaxField NameFax
Data TypeFax
Help Text
Description
Data Owner
Field Usage
Data Sensitivity Level
Compliance Categorization

but im thinking the easiest way to fix this is to remove the fax field from the lookup

i.e in the template:

<Request SkipIf="[IIf([FoundRecordCount]&gt;0,True,False)]" Url="/services/data/v52.0/search/?q=FIND...this file is saved on the server? any ideas?
 
Editing the template is not that easy, and it's not recommended as you will miss any update provided by 3CX. You should make those fields visible. In order to do this change:
- Go to “Setup Home > Objects and Fields > Object Manager > Lead > Fields.”
- Click on the field that you want to make visible, for example “Fax”.
- 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 any other field causing this error.
 
  • Like
Reactions: Evolute IT
Status
Not open for further replies.

Members Online Now

Forum statistics

Threads
111,832
Messages
589,282
Members
164,662
Latest member
DejanMDS