Gemini Shortcut Help

Has anyone gotten the following error with the Simple Gemini Request or Talk to Gemini shortcuts? I can’t figure out what the issue is since I only downloaded the shortcut and added my API key. Nothing else was changed from the original.

error message: In ", no value was found for dictionary key 'candidates'.