TOO_MANY_FORKS error occurs when too many forks are generated while processing the request. This usually happens when matching too many conditional routes, which could lead to a loop or excessive resource usage.
You cannot have more than 5
has routes matched on a single path.
- Review routing configuration: Reduce the number of rewrites, redirects, or headers with a
haskey (conditional route) that match the erroring request path
- Check for recursive logic: Ensure there isn't any recursive logic in the routing configuration that could lead to excessive forking
- Handle unhandled exceptions: Check the application logs for any unhandled exceptions that may be causing the error