I have a self-hosted docker installation of appsmith. I would like to use the Map widget so I have followed these instructions (including restarting the instance:
When I use the widget, I still get “Map Widget disabled”:
I’m trying to troubleshoot but don’t know where to look. I’ve tried the grep’ing backend log of the container for ‘map,’ ‘google’ (only returned google-sheets plugin), and the API KEY that is configured, but didn’t find anything about the Google Maps API config that I put in the docker.env file.
Hi @trebuchet ,
In the GCP console, please set the Application restrictions to > IP addresses > (IP address of your Appsmith host)
If you have setup Appsmith locally on your machine, you can obtain your IP address by running the cmd: curl ifconfig.me
@trebuchet , If the above config change does not fix the issue, then could you also verify if your current APPSMITH_GOOGLE_MAPS_API_KEY value is correct and ensure that there is no duplicate entry for the same in the docker.env file.
Apologies! I found the reason why it wasn’t working - I did not realize there was already a APPSMITH_GOOGLE_MAPS_API_KEY= line in the docker.env file that is created automatically via the docker installation. As a result, the line that I added to the top of the file was being invalidated by the later line that didn’t have a key filled in. Apologies for spinning everyone’s wheels!