As per the documentation Gemini 1.0 Pro is no longer supported. You must migrate to a different, currently supported Gemini model to continue using the features you need. For the list of supported models, see Gemini models.