Let me apologize for the length of this message beforehand but I wanted to add detail and images to thoroughly explain my problem. Any help anyone can lend would be greatly appreciated.
Long story short I’m getting the following error: {“error_message”:“API keys with referer restrictions cannot be used with this API.”,“html_attributions”:,“status”:“REQUEST_DENIED”}
Below are details.
…
I previously had a feature in a an app I’m building to be able to get business information using the Google Maps plugin. I would retrieve the Google Place ID from a business using the Google Places Plugin. I would save that ID in a field and when one of my app users wanted information on that business such as business hours. The app was displaying it in a text repeating group (see example)
In the debug message, I get the following error:
{“error_message”:“API keys with referer restrictions cannot be used with this API.”,“html_attributions”:,“status”:“REQUEST_DENIED”}
I did. I did a general browser search as well. I see where others have encountered this error, but I’m struggling to see what the resolution was. Do you have a link you can point me to?
In short, You need to check in Google Cloud Console for any restrictions for the keys you are using. Remove them and test. This can take a moment to be live, but normally, it’s fast.
@Jici Thank you! This worked. Asking as a novice, are there any security or privacy issues I should be cautious of with restrictions being removed. It’s confusing that bubble says to implement these restrictions with no warning that it will cause issues with actually using the API.
Yes that’s the video that I followed. It’s the restriction on the client key that it says to implement (time 2:16). So unless I’m mistaken, it’s by following this video that got me into this problem.
This is where the issue is. If I set Application restrictions to none it works. If I go by the video and set restrictions to allow my bubble website to use the API, it fails. Am I missing something?
Can you share both api keys settings and bubble settings for API too? (You can hide api keys and just keep a little part visible so we can compare with what you have set in Bubble settings)