# Kubectl error response from macos (kubectl client) to AWS EKS node

**URL:** <https://discuss.kubernetes.io/t/kubectl-error-response-from-macos-kubectl-client-to-aws-eks-node/29302>\
**Category:** General Discussions\
**Created:** [August 6, 2024, 2:20pm UTC](https://discuss.kubernetes.io/t/kubectl-error-response-from-macos-kubectl-client-to-aws-eks-node/29302 "2024-08-06T14:20:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cas](https://avatars.discourse-cdn.com/v4/letter/c/77aa72/32.png) [@cas](https://discuss.kubernetes.io/u/cas)\
**Post date:** [August 6, 2024, 2:20pm UTC](https://discuss.kubernetes.io/t/kubectl-error-response-from-macos-kubectl-client-to-aws-eks-node/29302/1 "2024-08-06T14:20:16Z")

</div>

Asking for help? Comment out what you need so we can get more information to help you!

### Cluster information:

Kubernetes version: aws eks  
Cloud being used: (put bare-metal if not on a public cloud)  
Installation method:  
Host OS:  
CNI and version:  
CRI and version:

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.

I continually get this error when I try any kubectl commands:

% kubectl get ns

E0806 09:54:37.391311 86349 memcache.go:265] couldn’t get current server API group list: the server has asked for the client to provide credentials  
E0806 09:54:38.065648 86349 memcache.go:265] couldn’t get current server API group list: the server has asked for the client to provide credentials  
E0806 09:54:38.698301 86349 memcache.go:265] couldn’t get current server API group list: the server has asked for the client to provide credentials  
E0806 09:54:39.444840 86349 memcache.go:265] couldn’t get current server API group list: the server has asked for the client to provide credentials  
E0806 09:54:40.160886 86349 memcache.go:265] couldn’t get current server API group list: the server has asked for the client to provide credentials  
error: You must be logged in to the server (the server has asked for the client to provide credentials)

I have updated the config

% aws eks update-kubeconfig --name ozclusternew --region us-west-1  
Updated context arn:aws:eks:us-west-1:025066240532:cluster/ozclusternew in /Users/caseywalker/.kube/config

Please advise… appreciate it
