An unavailable policy service has not granted permission. Treating a missing result as an allow decision turns an outage into an access-control failure. Resource handling needs a similarly explicit boundary: an authorized caller may still request an invalid or excessive amount of work.
The gateway models a dependency outage and a request budget. Require an explicit allow result, then validate a positive integer count within the stored limit. The fixture doesn't reproduce real timeouts, concurrent requests or memory pressure. Production code must apply those limits where work starts, handle cleanup and partial failures, and return a useful generic error without exposing internal exceptions. OWASP groups these abnormal paths under A10:2025.
Read the fixed handler, then apply the same idea to each exercise.