If the bread doesn't seem to be cooking in the middle, you likely have too much moisture in the batter. Make sure that you press the grated zucchini well with paper towels to remove as much excess water as possible before baking.