Hi @TN ,
Based on my research, here are some reasons that may cause this issue, please check and then test whether it works:
- Be sure the sandboxed host service is running on the appropriate servers. The service is called Microsoft SharePoint Foundation Sandboxed Code Service in Central Admnistration. It is called SharePoint 2010 User Code Host in Windows Services. It can be started in either place.
- A second known cause is certain values in the local computer policy of the servers running the sandboxed host service.
- A third known cause is the presence of the following key in the registry of the servers that are running the sandboxed host service. (An additional symptom of this cause is that the service stops a few seconds after starting.)
- A fourth known cause is that SharePoint is trying to check for certificate revocations at crl.microsoft.com.
More information for reference:
https://learn.microsoft.com/en-gb/archive/blogs/sharepointdev/error-the-sandboxed-code-execution-request-was-refused-because-the-sandboxed-code-host-service-was-too-busy-to-handle-the-request-ricky-kirkham
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.