Kclerrordomain error 1 @widget


after some time I get the error “The operation couldn’t be completed. (kCLErrorDomain error 1.)”

Access to location services is granted.

Here is my code:

Who can help? :thinking:

I’m having the same issue, and had location permissions. Script works fine but intermittently the widget shows the same error #1. Tap on the widget and within Scriptable things run fine.

Even though I had the location permissions set, I reset it to ask again. Then Accepted and verified that permissions allowed “App and Widget”. Now seems to be working consistently.