This error occurs when the user does not have the required generate timesheets permission. Follow these steps in the portal to resolve it:
Navigate to Security, then select Set Up.
Click on CoreTime System Users.
Search for the user by their username.
Locate the Generate Timesheets setting and select All Companies.
This grants the user permission to generate timesheets for all companies within the system.
