Hi @Deval Katherina
Thank you for posting your question in the Microsoft Q&A forum.
Please note that this is a user-to-user support forum. Moderators, contributors, and external Microsoft employees do not have access to back-end systems to investigate root causes. Our role here is limited to sharing technical guidance based on publicly available resources and experience.
From my findings, a 500 Internal Server Error is a generic IIS or HTTP status that indicates the server encountered an unexpected condition and could not provide more specific details. Because the error is server‑side, start by reviewing the ULS logs and Event Viewer for error entries.
In SharePoint, common causes of this error include:
-The Web config file might have been modified in an incorrect format.
-The SharePoint Application Pool stopped.
-The Security Token Service Application Pool stopped.
For step-by-step troubleshooting, you may find these resources useful:
- 500 INTERNAL SERVER ERROR on my new sharepoint 2019 communication site - Microsoft Q&A.
- spgeeks.devoworx.com.
Note: Microsoft is providing this information as a convenience to you. These sites are not controlled by Microsoft, and Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please ensure that you fully understand the risks before using any suggestions from the above link.
I hope this information is helpful.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.