emily_msw
emily_msw
CDCloudflare Developers
Created by emily_msw on 2/27/2025 in #pages-help
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.
1 replies