Consider a charged non conducting **solid** sphere of uniform charge density, and it as hole of some radius at the centre. 

Now suppose I apply Gauss law.
[![enter image description here](https://i.stack.imgur.com/RxOFr.png)](https://i.stack.imgur.com/RxOFr.png)

As there is no charge inside the cavity, no charge is enclosed by Gaussian sphere, so electric flux is zero, hence electric field is zero.

But this is not true according to sources like [this](https://www.youtube.com/watch?v=H18bYW_Do0k), textbook etc..

What am I missing here?

My question about how to have nonzero field in a region where the flux through the boundary of the region vanish? As mentioned by– rob