I am currently having some troubles with saving Google API key restrictions. This is how I have configured in the Credentials Manager.
Application restrictions
- Websites (*.azurestaticapps.net)
API restrictions
- Geocoding API
- Geolocation API
- Maps JavaScript API
- Places API
When I tried to save, I kept getting "Save failed" error, saying "The attempted action failed, please try again.", along with some tracking number.
I was a bit suspicious about the website URL that I put there, so I tried a different one to see if it'd make any difference, but it still failed with the same error.
I also had a look at this Google's official help doc. I don't think I missed anything obvious though.
I gave it another crack earlier today, and luckily found the workaround for it at least.
In my case, what happened was that my browser already had another sign-in session previously. It's not that obvious to check whether or not you are signed in multiple sessions in the Google Cloud Console so I totally missed that.
Not too sure if this workaround would 100% work for others, but at least it did the trick for me. Hopefully something useful to know.