function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nimisha Rajshri 7Nimisha Rajshri 7 

ui.services.connection.api.PartnerConnectionException: UNKNOWN_EXCEPTION: An unexpected error occurred. Please include this ErrorId if you contact support: 14994162-106344 (-1574478963)

We are facing thie error on Account detail page in Lightning experience because of which I cannot see any fields on the accounts pagelayout. However, I can see the fields on details page for Accounts in classic. 

ui.services.connection.api.PartnerConnectionException: UNKNOWN_EXCEPTION: An unexpected error occurred. Please include this ErrorId if you contact support: 14994162-106344 (-1574478963)

Error
I don't understand this error id. anyone else facing the same issue?
Best Answer chosen by Nimisha Rajshri 7
SwethaSwetha (Salesforce Developers) 
I see below details in the logs for org (00D8K0000004eOQ)
java.sql.SQLSyntaxErrorException: ORA-00932: inconsistent datatypes: expected DATE UNIT got NUMBER
Record Id : 001F0000010jF4rIAE
Please also review the associated SOQL query

Also, you might want to recheck the timezone as it is
26 May 2022, Pacific Time (PT) 9:17 am at the time of writing this comment :) 

Hope this helps.Thank you

All Answers

SwethaSwetha (Salesforce Developers) 
HI Nimisha,
The error you are seeing is GACK ID in salesforce (More details: https://developer.salesforce.com/blogs/tag/gack)

Based on Salesforce backend logs, I see details as "An unexpected error occurred" which could be due to inconsistent datatypes/ invalid relational operator.

Incase you need further details, please post the timestamp along with timezone and your org Id so I can narrow down & share your org-specific information.

Thank you
Swetha Maddali
Salesforce.com support
 
Nimisha Rajshri 7Nimisha Rajshri 7
yes ofcourse,

Time stamp: 5/26/2022 11:04AM
Timezone: Pacific
Org id: 00D8K0000004eOQ
SwethaSwetha (Salesforce Developers) 
I see below details in the logs for org (00D8K0000004eOQ)
java.sql.SQLSyntaxErrorException: ORA-00932: inconsistent datatypes: expected DATE UNIT got NUMBER
Record Id : 001F0000010jF4rIAE
Please also review the associated SOQL query

Also, you might want to recheck the timezone as it is
26 May 2022, Pacific Time (PT) 9:17 am at the time of writing this comment :) 

Hope this helps.Thank you
This was selected as the best answer
Nimisha Rajshri 7Nimisha Rajshri 7
yes, that was it! Thank you so much!! appreciate it so much!!
I'm not sure why this happened in my sandbox org and that too with the formula field. 
No of days since Last Activity : TODAY() - DATEVALUE(Last_Activity_Date_ActivityMetrics__c)

The return data type is number for it. Is the formula data type worng here??