I'm able to access records of a custom object in salesforce classic and was also in lightning. But recently i'm seeing
Looks like there's a problem. Unfortunately, there was a problem. Please try again. If the problem continues, get in touch with your administrator with the error ID shown here and any other related details.
But i'm able to access the same record in classic though. When i login as different user with same profile i'm able to access the record in lightning, not with my user though.