AI sStudio goes into an infinite loop when given an instruction

AI Studio can go into an interminable loop, when given data to download under certain circumstances. If an app, was in the free tier, becomes a paid tier app, but then the api key for the paid tier was deleted, is the scenario for this project, and is perhaps the root cause of the circumstance.