Hello Oksana,
In General we see that when you are requesting a very large amount of data you might hit this error. To see exactly what request you are making and the size of the file that is retrieving please share the report definition and the client customer id from which you are pulling the data. Please use
reply privately to the author option while sharing the information requests.
Regards,
Sai Teja, Google Ads API Team

ref:_00D1U1174p._5001U8LhB1:ref