I saw this question where the answer is - All requests are routed via Retool.
In my case, I've added Gmaps in Retool via Iframe. I've whitelisted *retool.com
domain in Gmaps. When i saw this error message in console (RefererNotAllowedMapError) which says The current URL loading the Maps JavaScript API has not been added to the list of allowed referrers. Please check the referrer settings of your API key in the Cloud Console.
I looked into browser Network tab and indeed the request is made from my browser which will get blocked since i have added rule and only accept requests from *retool.com
May be this is because of Iframe and will i have this issue if i use a Custom Component in Retool for Gmaps?