Internal Server error: Disallowed operation called within global scope
Hi My nextjs site got 500 internal server error after successful build and deployment,
I checked the log it shows:
Uncaught Error: Disallowed operation called within global scope. Asynchronous I/O (ex: fetch() or
connect()), setting a timeout, and generating random values are not allowed within global scope.
But even I reverted my commit and ran the build again, I still face the same error and got 500 internal server error on my deployed site. May I any good way to debug? Thanks.
0 Replies