Forum Discussion
Hi rraghvani!
Thanks, I was following the SOQL query format which was provided in the Examples provided with the github Salesforce / TestComplete extension which had this listed:
// JavaScript example
function Get_Names()
{
let names = Salesforce.Query("SELECT+Name+FROM+Account");
for (let i = 0; i < names.Count(); i++)
{
Log.Message(names.GetItem(i).Name);
}
}
I did try your suggestion however, and still got the error.
Status Code: 400
Status Text: Bad Request
Body:
[{"message":"Account: bad field names on insert/update call: Additional_E_mail__pc, Special_Needs__pc, Custom_Permissions__pc, Lic_Designation__pc, FinServ__ReferredByUser__pc, FinServ__CommunicationPreferences__pc, FinServ__ContactPreference__pc, Business_Phone__pc, Events_Experiences__pc, NAM_ID__pc, Formal_First_Name__pc, FinServ__CustomerTimezone__pc, Flag_for_Deletion__pc,