Status code 400: User location is not supported for the API use

Hi,
I got this error code today, but it was running fine yesterday. My server is located in San Jose. What could be the issue?

1 Like

Hi @modhon_paulen

It might be a transient error. Temporary routing issues can cause location mismatches. Can you try checking the by shifting to another region.

Thanks

In case that you’re located in Europe there might be API access restrictions


Thank you for your response. However, I am limited to selecting just one region. :joy:

Thank you for the reminder. My VPS is located in San Jose.

I’m facing the same issue with my server hosted in US-CENTRAL also.

I am also seeing this exact error message, even when using the “Getting Started” curl code. Things worked fine for weeks. My server is in Dallas, Texas. When I use the same code on my home IP in San Diego, California, everything works.

I’m experiencing the same issue.

It seems like Google’s IP geolocation might be returning incorrect data. You can try reporting it using this form: Report IP problems - Google Search Help — though in my case, it hasn’t helped yet.

I really hope someone from Google looks into this soon. It appears to be affecting many users, I have seen multiple issue reports on this, citing the exact same issue.

1 Like

We ended up using IPv6 instead as a workaround.