A 500 error inside cPanel doesn't always mean your website or hosting account is broken.
Sometimes the issue is related to a temporary cPanel service problem, a browser session issue or a server-side error.
I'd start with a few simple checks.
First, log out of cPanel and sign in again using a private or incognito browser window. You can also try another browser to rule out a browser-related issue.
If the problem continues, check whether your account has enough disk space available. A full hosting account can sometimes cause unexpected problems.
You can also check whether other cPanel features are working normally.
If File Manager is still showing the same error, contact your hosting provider and ask them to investigate the cPanel error logs.
Since cPanel is managed at the server level, some issues can only be diagnosed or fixed by the hosting administrator.
I'd avoid deleting files or changing permissions just to fix this error, especially when the rest of your website is working normally.