Dear Akila Dissanayaka,
Good day! Thank you for posting to Microsoft Community. We are happy to help you.
From your description It seems error Invalid board view. Fixed errors bellow to continuebehavior from your side.
If my understanding is right, apologized situation you encountered, we do understand the inconvenience caused and apologize for it.
You mentioned "The same issue is available with SharePoint as well.", we assume the problem may be related to the SharePoint backend.
Given this situation, more resources need to be involved in the issue in your environment. I suggest you follow the steps in the article to open a ticket, this is the most efficient way to fix the issue in your environment. The engineers in the related team have more permission and more resources than us to help check it from the background and collect the log remotely. This is also the most efficient way of handling this kind of issue. Unfortunately, as a community, we don't have permission to test the issue on our end. However, we can guide you towards the correct path to resolve your issue. Please follow the steps below to contact Office 365 support.
If you don’t have the admin permission on your organization you can contact your office 365 administrator to go to Microsoft 365 >> Admin Center-> Support-> New Service Request if you have admin permission you can directly follow the steps upper without contacting administrators help. Please use my below picture as a references or you can refer to this article to check the way how to raise a ticket.
Get support - Microsoft 365 admin | Microsoft Learn
Please provide all necessary issue information and then click on Contact Support. Our support team will begin working on your issue as soon as possible.
Thank you for you precious time and cooperation.
Have a nice day!
Best Regards,
Sophia