Azue K8 Not resolving IP - Getting an error Failed to list *v1.Endpoints: Get

Hi, we have been running K8 in Azure for a while but now we are seeing the following error:
E0702 08:12:09.566147 1 reflector.go:153] pkg/mod/ Failed to list *v1.Endpoints: Get "": net/http: invalid header field value "Bearer -----BEGIN PRIVATE KEY-----\n\n-----END PRIVATE KEY-----" for key Authorization.

I am not sure why we are seeing this error, any help would be great.
Thank you