throw 404 if no provider or provider is disabled