# Google Gemini Location Error

**URL:** <https://community.make.com/t/google-gemini-location-error/27525>\
**Category:** Questions\
**Tags:** google, ai\
**Created:** [February 15, 2024, 12:19am UTC](https://community.make.com/t/google-gemini-location-error/27525 "2024-02-15T00:19:32Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![KyleBehrend](https://avatars.discourse-cdn.com/v4/letter/k/35a633/32.png) [@KyleBehrend](https://community.make.com/u/KyleBehrend)\
**Post date:** [February 15, 2024, 12:19am UTC](https://community.make.com/t/google-gemini-location-error/27525/1 "2024-02-15T00:19:32Z")

</div>

Hi all

Trying to call Google Gemini through the API and getting a location error. I am assuming this is because my Make server is in the EU… any workarounds?

Data {  
“error”: {  
“code”: 400,  
“message”: “User location is not supported for the API use.”,  
“status”: “FAILED\_PRECONDITION”  
}  
}

 ![CleanShot 2024-02-15 at 11.18.56](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/a/f/afa3eceb97689c6e4b103cf8975395308e1e74a6.png)

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [February 15, 2024, 1:54am UTC](https://community.make.com/t/google-gemini-location-error/27525/2 "2024-02-15T01:54:14Z")

</div>

The workaround is to use the Google Maps “Get a location” Module and pass the Formatted Address variable into Gemini.

---

<div class="post-metadata">

**Author:** ![KyleBehrend](https://avatars.discourse-cdn.com/v4/letter/k/35a633/32.png) [@KyleBehrend](https://community.make.com/u/KyleBehrend)\
**Post date:** [February 15, 2024, 2:06am UTC](https://community.make.com/t/google-gemini-location-error/27525/3 "2024-02-15T02:06:49Z")

</div>

Interesting!! 🙂 I added the module but how do I add this to the HTTP request?

 ![CleanShot 2024-02-15 at 13.06.16](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/0/d/0d38e0906e76ba78e9ffe56cf3c0e795b327d0bd.png)

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [February 15, 2024, 2:11am UTC](https://community.make.com/t/google-gemini-location-error/27525/4 "2024-02-15T02:11:59Z")

</div>

Ohh I thought you wanted to get your location via Gemini.

So it looks like Gemini isn’t available for you. Not sure if there is even a workaround for this.

You can try ScrapeNinja to make the HTTP call – you can select different servers from there.

---

<div class="post-metadata">

**Author:** ![KyleBehrend](https://avatars.discourse-cdn.com/v4/letter/k/35a633/32.png) [@KyleBehrend](https://community.make.com/u/KyleBehrend)\
**Post date:** [February 15, 2024, 2:12am UTC](https://community.make.com/t/google-gemini-location-error/27525/5 "2024-02-15T02:12:55Z")

</div>

ah interesting ok thanks will look into that

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [February 15, 2024, 2:14am UTC](https://community.make.com/t/google-gemini-location-error/27525/6 "2024-02-15T02:14:14Z")

</div>

Screenshot of module that shows US as a possible option

![Screenshot_2024-02-15_131327](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/a/b/aba92b7cf7058b48196fce7ad9107bd4228007e3.png)

---

<div class="post-metadata">

**Author:** ![KyleBehrend](https://avatars.discourse-cdn.com/v4/letter/k/35a633/32.png) [@KyleBehrend](https://community.make.com/u/KyleBehrend)\
**Post date:** [February 15, 2024, 2:17am UTC](https://community.make.com/t/google-gemini-location-error/27525/7 "2024-02-15T02:17:07Z")

</div>

thats perfect now trying to figure out how the heck to get ScrapeNinja account lol… not easy

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [February 15, 2024, 2:20am UTC](https://community.make.com/t/google-gemini-location-error/27525/8 "2024-02-15T02:20:20Z")

</div>

See [RapidAPI Error Code 403 - #2 by samliew](https://community.make.com/t/rapidapi-error-code-403/26632/2) for screenshots

---

<div class="post-metadata">

**Author:** ![KyleBehrend](https://avatars.discourse-cdn.com/v4/letter/k/35a633/32.png) [@KyleBehrend](https://community.make.com/u/KyleBehrend)\
**Post date:** [February 15, 2024, 2:21am UTC](https://community.make.com/t/google-gemini-location-error/27525/9 "2024-02-15T02:21:31Z")

</div>

WOW there is NO way I would have figured that out. Thank you \<3

---

<div class="post-metadata">

**Author:** ![KyleBehrend](https://avatars.discourse-cdn.com/v4/letter/k/35a633/32.png) [@KyleBehrend](https://community.make.com/u/KyleBehrend)\
**Post date:** [February 15, 2024, 2:24am UTC](https://community.make.com/t/google-gemini-location-error/27525/10 "2024-02-15T02:24:21Z")

</div>

![CleanShot 2024-02-15 at 13.23.51](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/e/2/e202621f97a3eb5db323108d1c25e2c047054b20.png)

So it seems I can scrape, but I cannot call the API from a proxy location?

---

<div class="post-metadata">

**Author:** ![karimzynera](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/karimzynera/32/38543_2.png) [@karimzynera](https://community.make.com/u/karimzynera)\
**Post date:** [February 15, 2024, 2:29am UTC](https://community.make.com/t/google-gemini-location-error/27525/11 "2024-02-15T02:29:34Z")

</div>

how did you manage to connect it successfully? i keep getting an 403 error although i inserted the correct api key

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [February 15, 2024, 2:30am UTC](https://community.make.com/t/google-gemini-location-error/27525/12 "2024-02-15T02:30:35Z")

</div>

What is the error message?

---

<div class="post-metadata">

**Author:** ![KyleBehrend](https://avatars.discourse-cdn.com/v4/letter/k/35a633/32.png) [@KyleBehrend](https://community.make.com/u/KyleBehrend)\
**Post date:** [February 15, 2024, 2:32am UTC](https://community.make.com/t/google-gemini-location-error/27525/13 "2024-02-15T02:32:07Z")

</div>

![CleanShot 2024-02-15 at 13.31.47](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/3/4/349346268801307dac1baac19abf76081fc50ba3.png)

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [February 15, 2024, 2:35am UTC](https://community.make.com/t/google-gemini-location-error/27525/14 "2024-02-15T02:35:49Z")

</div>

Looks like there is a stray `/` at the start of your URL, weird.

Try it with the ScrapeNinja sandbox [ScrapeNinja Live Sandbox](https://scrapeninja.net/scraper-sandbox)

---

<div class="post-metadata">

**Author:** ![KyleBehrend](https://avatars.discourse-cdn.com/v4/letter/k/35a633/32.png) [@KyleBehrend](https://community.make.com/u/KyleBehrend)\
**Post date:** [February 15, 2024, 2:46am UTC](https://community.make.com/t/google-gemini-location-error/27525/15 "2024-02-15T02:46:50Z")

</div>

Ok so that worked

 ![CleanShot 2024-02-15 at 13.43.48](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/a/7/a7685ee7c759acc2cac0e1e1b231c976d10ff55e.png)

Then I think I need to use the Scrape module coz I can choose US:

 ![CleanShot 2024-02-15 at 13.45.14](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/0/8/08d637ce7683428e6659cf6d8f15d1fa74d57f4b.png)  
 ![CleanShot 2024-02-15 at 13.44.27](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/3/4/34e92877dfde9a95fdbf966da2c3043e8b603e48.png)

but it doesnt work

 ![CleanShot 2024-02-15 at 13.45.06](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/9/f/9f080a77c0793a51b9c3e80b3ab88c90c8c2a8e8.png)

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [February 15, 2024, 4:55am UTC](https://community.make.com/t/google-gemini-location-error/27525/16 "2024-02-15T04:55:48Z")

</div>

I think the headers are incorrect, since you are sending JSON.

`Content-Type: application/json`

---

<div class="post-metadata">

**Author:** ![Msquare\_Automation](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/msquare_automation/32/6634_2.png) [@Msquare\_Automation](https://community.make.com/u/Msquare_Automation)\
**Post date:** [February 21, 2024, 6:10pm UTC](https://community.make.com/t/google-gemini-location-error/27525/17 "2024-02-21T18:10:55Z")

</div>

Hi @KyleBehrend

Gemini is not supported in Europe. So please use Make organization with US Server.  
This will solve your issue.

---

<div class="post-metadata">

**Author:** ![KyleBehrend](https://avatars.discourse-cdn.com/v4/letter/k/35a633/32.png) [@KyleBehrend](https://community.make.com/u/KyleBehrend)\
**Post date:** [February 21, 2024, 11:57pm UTC](https://community.make.com/t/google-gemini-location-error/27525/18 "2024-02-21T23:57:24Z")

</div>

Unfortunately cannot change my server location, need to create a new account which sucks lo

---

<div class="post-metadata">

**Author:** ![Msquare\_Automation](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/msquare_automation/32/6634_2.png) [@Msquare\_Automation](https://community.make.com/u/Msquare_Automation)\
**Post date:** [February 22, 2024, 2:18am UTC](https://community.make.com/t/google-gemini-location-error/27525/19 "2024-02-22T02:18:23Z")

</div>

Yes, it is very unfortunate.

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [March 7, 2024, 2:32am UTC](https://community.make.com/t/google-gemini-location-error/27525/20 "2024-03-07T02:32:47Z")

</div>

This topic was automatically closed because it's resolved or inactive. Please, start a new topic.


