Scott Decker
Scott Decker

Reputation: 4297

Why is Google API key restriction not working

I have a Google API key. It works fine. I'm seeing traffic to the Google Geocoding API using that API key: enter image description here

However, I added a restriction on the API key so that this traffic to Google Geocoding API should start denying all these requests: enter image description here

Doing so has had no effect. The Google Geocoding API continues to see traffic. Why is it not denying these requests? Or is it and I'll always see traffic on that graph even if it's denying the requests? The Errors graph for that same key shows no data during that time period.

Upvotes: 2

Views: 1746

Answers (1)

Scott Decker
Scott Decker

Reputation: 4297

You have to also select "By credential" in the 2nd dropdown. Such an annoying design!

enter image description here

Upvotes: 0

Related Questions