I also think the problem might be the switch on the lens that controls its focus range. Make sure your lens is set for all length (no limiter).
And also check the Control ring setting. It might be set to something that is causing or contributing to your problem. I found this to be the case with my Z9 when I first started to use my Z mount 100-400mm S lens. I was touching the Control ring on the lens that set or reset something. I fixed it by disabling it in Custom Controls in my Z9. Check your Z8 manual to see what it says about lens Control Ring settings.
This link might help:
My aim in this post is to walk through how to adjust the control ring settings, explore the default settings, and dive into the various options available so you can set it up for your own style of shooting.
havecamerawilltravel.com