A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
I'm glad to hear that the issue is solved. To close the thread, I would make a brief summary of this thread.
[Creating views SharePoint]
Issue Symptom:
OP have encountered the following problem whilst using SharePoint.
When OP try to access existing views for Library, get the following error message.
Sorry, something went wrong.
An unexpected error has occurred.
TECHNICAL DETAILS
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: 656fd7a0-8092-7000-4590-f40395b08157
Date and Time: 05/09/2023 03:00:42
As a results of this issue, OP cannot delete old or create new views.
Current status:
OP solved this through deleted the library and started afresh.
By the way, since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others.".
You could click the "Accept Answer" button for this summary to close this thread, and this can make it easier for other community member's to see the useful information when reading this thread. Thanks for your understanding!