# Error: Error from server (NotFound): error when creating "STDIN": namespaces "cattle-system" not found

**URL:** <https://forums.suse.com/t/error-error-from-server-notfound-error-when-creating-stdin-namespaces-cattle-system-not-found/42761>\
**Category:** General\
**Created:** [March 18, 2024, 9:34am UTC](https://forums.suse.com/t/error-error-from-server-notfound-error-when-creating-stdin-namespaces-cattle-system-not-found/42761 "2024-03-18T09:34:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpeace08](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/jpeace08/32/11044_2.png) [@jpeace08](https://forums.suse.com/u/jpeace08)\
**Post date:** [March 18, 2024, 9:34am UTC](https://forums.suse.com/t/error-error-from-server-notfound-error-when-creating-stdin-namespaces-cattle-system-not-found/42761/1 "2024-03-18T09:34:19Z")

</div>

After i removed all namespace cattle\* to re-config rancher, i get error after run the below command  
curl --insecure -sfL [https://10.x.x.x:6868/v3/import/qxfslqrkq65d4blgpxrlb7r2mpm2pbwvnkgv6h66sfmcqtzgvzdl28\_c-m-v4tfxxzx.yaml](https://10.x.x.x:6868/v3/import/qxfslqrkq65d4blgpxrlb7r2mpm2pbwvnkgv6h66sfmcqtzgvzdl28_c-m-v4tfxxzx.yaml) | kubectl apply -f -

```auto
clusterrole.rbac.authorization.k8s.io/proxy-clusterrole-kubeapiserver unchanged
clusterrolebinding.rbac.authorization.k8s.io/proxy-role-binding-kubernetes-master unchanged
clusterrolebinding.rbac.authorization.k8s.io/cattle-admin-binding unchanged
clusterrole.rbac.authorization.k8s.io/cattle-admin unchanged
Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "rancher.cattle.io.namespaces.create-non-kubesystem": failed to call webhook: Post "https://rancher-webhook.cattle-system.svc:443/v1/webhook/validation/namespaces?timeout=10s": service "rancher-webhook" not found
Error from server (NotFound): error when creating "STDIN": namespaces "cattle-system" not found
Error from server (NotFound): error when creating "STDIN": namespaces "cattle-system" not found
Error from server (NotFound): error when creating "STDIN": namespaces "cattle-system" not found
Error from server (NotFound): error when creating "STDIN": namespaces "cattle-system" not found

```
