Generate object error User location is not supported for the API use

Gemini API here too. The problem seems to be localized to cloud functions running us-central1 though so switching the function region should do the trick.