Google Analytics 4 has replaced Universal Analytics and I am sure you have made the switch as your Universal Analytics properties stopped processing any information starting July 1, 2023.
Since GA4 is a new and enhanced platform with new API and libraries, our existing approach of Read Google Analytics reports