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
sfdc98sfdc98 

error in org

Hi everyone ,when i click on one of the record related to the object in my org it throws an error:list has no rows for assignment to Sobject..
what might be the issue please help me out.

Thanks in Advance.
Sai PraveenSai Praveen (Salesforce Developers) 
Hi, 

This type of error is generally occured when the query does not returns any result. Can you check if there is any customization on that page and with debug logs you should be able to find the issue.

Please check the below article for the same.

https://help.salesforce.com/s/articleView?id=000328824&type=1 (https://help.salesforce.com/s/articleView?id=000328824&type=1)

If this solution helps, Please mark it as best answer.

Thanks,