Error Domain=kCLErrorDomain Code=8 "(null)"

I get Error Domain=kCLErrorDomain Code=1 "(null)" in the Xcode console when a start to update for location. This does not happen in the example app, so I'm wondering what I might have done wrong?