MS Docs Says:
Issue: When trying to use a document template with Open in Excel a "Record for id GUID not found" error displays
Issue: The "Record for id GUID not found" error can display when copying a database from one environment to another.
Explanation: Copying the database is problematic for document templates, record attachments, and other files that are stored in Azure blob storage. When the database is copied from one environment to another, the files are not copied along with the records, so the files that the application tries to access are not found.
Solution: For document templates, the solution is to identify the templates that are needed and load a copy of those template files into the target environment.
So try to reload System document templates
Organization administration→ Setup→ Office integration→ Document templates. Click "Reload system templates"
and try again.
Regards,
AP