I’ve been plagued by this issue for a month and am working with google cloud support but making very little progress on fixing, which is frustrating. You can see additional posts here (Re: Unexpected 400 errors with Generated Output Sc... - Google Cloud Community) and here (Unexpected InvalidArgument error for large response_schema). Lots of folks are having issues with this but google hasn’t done anything to resolve to date.