Based on your post, I understand that that guest users get "something went wrong" error when they want to access a specific folder through sharing link.
It seems this is not a common issue per my test. However, we can work together to narrow down and resolve the situation. So, please kindly provide more information below to let us work further.
1.Whether all guest users occur this issue?
2.Try to share another folder with guest users, compare the result.
3.Have you made some changes for the document library where the folder exists or the hub site?
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.