I see two possible causes. One is the version of macOS you are using. Explanation here:
Another is that you don't have your permissions set up to allow KM to access location. Instructions here:
https://wiki.keyboardmaestro.com/token/WirelessNetwork
But the first thing I would do to troubleshoot this is open the KM Debugger, check "Pause New Macros" then see if the macro actually runs, and if so execute step by step through the macro. The debugger is really your best friend when it comes to troubleshooting. I find this method easier and more powerful than checking the log.