For Some REST calls and complex SOQL “An unexpected error occurred. Please include this ErrorId if you contact support: 407282875-7779 (-1425720777)”
Last updated 2021-05-26 ·Reference W-4629960 ·Reported By 10 users
When a REST call is made for an individual record it retrieves all associated fields on the object. If the query for the fields on the object is to complex they will receive the error:
“An unexpected error occurred. Please include this ErrorId if you contact support: 407282875-7779 (-1425720777)”
This also occurs for SOQL queries that are too complex and retrieve too many fields.
1) Make a GET https://DOMAIN.my.salesforce.com/services/data/v40.0/sobjects/Contact/[ID]
2) See error: “An unexpected error occurred. Please include this ErrorId if you contact support: 407282875-7779 (-1425720777)”
1) Execute complex query: (ex:)
SELECT AccountId,Account_Contact_Count__c,Account_Matters__c,Account_Name_and_Contact_Address__c,Account_Name__c,Account_Status__c,ACIC_Target__c,Ad_Hoc_Reporting_Flag__c,Affiliations__c,Alumni__c,AmLaw_200_Formula__c,AmLaw_200__c,Am_Law_200_Ranking__c,AP_GRIP_CONTACT__c,AP_GRIP_Postal_Contact__c,Area_of_Expertise_2__c,Area_of_Expertise__c,AssistantName,AssistantPhone,Assistant_Email__c,Associations_Clubs__c,Bank_Regulations_Governance_Newsletter__c,BD_Contact_Status_Changed_Date__c,BD_Contact_Status__c,Big_Dog_Contact__c,Birthdate,BoardExID__c,BoardEx_ID_Not_Found__c,Boards__c,Business_Unit__c,BU_Indicator_Corporate__c,BU_Indicator_Ringtail__c,BU_Indicator_Technology_Text__c,BU_Indicator_Technology__c,Canadian_Phone_Number__c,Capital_IQ_ID__c.... FROM Contact LIMIT 1
(Again this only occurs with a complex query with a large number of fields)
For REST there is no workaround as this retrieves all fields in this call, but for SOQL the query can be split into several queries to select a smaller number of fields.
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.