I m geeting the below error when i enter kubectl cluster-info

E0227 10:17:26.879258 11688 memcache.go:265] “Unhandled Error” err=<
couldn’t get current server API group list:
Authentication required

    </body></html>

E0227 10:17:26.910583 11688 memcache.go:265] “Unhandled Error” err=<
couldn’t get current server API group list:
Authentication required

    </body></html>

E0227 10:17:26.948791 11688 memcache.go:265] “Unhandled Error” err=<
couldn’t get current server API group list:
Authentication required

    </body></html>

E0227 10:17:26.986481 11688 memcache.go:265] “Unhandled Error” err=<
couldn’t get current server API group list:
Authentication required

    </body></html>

E0227 10:17:27.021879 11688 memcache.go:265] “Unhandled Error” err=<
couldn’t get current server API group list:
Authentication required

    </body></html>

To further debug and diagnose cluster problems, use ‘kubectl cluster-info dump’.
Error from server (Forbidden):
Authentication required

This generally means that there is a problem with your credentials, probably missing or outdated.

Use the versbos flag to find the issue:

kubectl cluster-info --v=8

This should tell you what’s wrong in your case.

If you can’t find it, please paste the verbose output for further examination.

Your output should look like mine:

I0304 20:03:58.291326   83536 loader.go:395] Config loaded from file:  /Users/mpatel/.kube/config
I0304 20:03:58.331525   83536 round_trippers.go:463] GET https://34.58.63.94/api/v1/namespaces/kube-system/services?labelSelector=kubernetes.io%2Fcluster-service%3Dtrue
I0304 20:03:58.331541   83536 round_trippers.go:469] Request Headers:
I0304 20:03:58.331545   83536 round_trippers.go:473]     Accept: application/json, */*
I0304 20:03:58.331548   83536 round_trippers.go:473]     User-Agent: kubectl/v1.30.6 (darwin/arm64) kubernetes/cab8b71
I0304 20:03:58.606973   83536 round_trippers.go:574] Response Status: 200 OK in 275 milliseconds
I0304 20:03:58.607307   83536 round_trippers.go:577] Response Headers:
I0304 20:03:58.607330   83536 round_trippers.go:580]     Audit-Id: af1f4b55-8de9-41b2-a9cf-fc6dcc4f8452
I0304 20:03:58.607342   83536 round_trippers.go:580]     Cache-Control: no-cache, private
I0304 20:03:58.607350   83536 round_trippers.go:580]     Content-Type: application/json
I0304 20:03:58.607357   83536 round_trippers.go:580]     X-Kubernetes-Pf-Flowschema-Uid: 52f7425f-f0cc-4d35-8ef6-d1bffb5cff2f
I0304 20:03:58.607364   83536 round_trippers.go:580]     X-Kubernetes-Pf-Prioritylevel-Uid: f925acfb-b412-46c1-8c8b-03fac5ffed1e
I0304 20:03:58.607371   83536 round_trippers.go:580]     Date: Wed, 04 Mar 2026 14:33:58 GMT

Let me know if this doesn’t help.

Thanks,