Error hitting Google Geocode API: API keys with referer restrictions cannot be used with this API

Hi guys, I’ve my client setup the geocode and maps api keys for adding geographic location as input for users in his app.
However, we’re constantly facing this error and not sure why this is coming up everytime. Can anyone help with this?

We tried all different possible combinations…nothing worked!

“Error hitting Google Geocode API: API keys with referer restrictions cannot be used with this API.”

This is coming from your settings in Google Cloud console. You probably have set restriction use for this API key (domain).

There’s already some topic about this error