# Error: unable to recognize “mongo-configmap.yaml”: no matches for kind “ConfigMap” in version “V1”

**URL:** <https://discuss.kubernetes.io/t/error-unable-to-recognize-mongo-configmap-yaml-no-matches-for-kind-configmap-in-version-v1/16884>\
**Category:** General Discussions\
**Created:** [July 28, 2021, 2:30pm UTC](https://discuss.kubernetes.io/t/error-unable-to-recognize-mongo-configmap-yaml-no-matches-for-kind-configmap-in-version-v1/16884 "2021-07-28T14:30:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![antolepore](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/antolepore/32/8240_2.png) [@antolepore](https://discuss.kubernetes.io/u/antolepore)\
**Post date:** [July 28, 2021, 2:30pm UTC](https://discuss.kubernetes.io/t/error-unable-to-recognize-mongo-configmap-yaml-no-matches-for-kind-configmap-in-version-v1/16884/1 "2021-07-28T14:30:59Z")

</div>

Hi,  
i am following a mongodb tutorial on kubernetes but when i create the config map it gives me this error

` error: unable to recognize "mongo-configmap.yaml": no matches for kind "ConfigMap" in version "V1"`

this is the mongo-configmap.yaml file

```auto
    apiVersion: V1
    kind: ConfigMap
    metadata:
      name: mongodb-configmap
    data:
      database_url: mongodb-service

```

---

<div class="post-metadata">

**Author:** ![rael](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/rael/32/2769_2.png) [@rael](https://discuss.kubernetes.io/u/rael)\
**Post date:** [July 28, 2021, 3:22pm UTC](https://discuss.kubernetes.io/t/error-unable-to-recognize-mongo-configmap-yaml-no-matches-for-kind-configmap-in-version-v1/16884/2 "2021-07-28T15:22:46Z")

</div>

Have you tried using lowercase _V_ (_v_) for the apiVersion?

---

<div class="post-metadata">

**Author:** ![antolepore](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/antolepore/32/8240_2.png) [@antolepore](https://discuss.kubernetes.io/u/antolepore)\
**Post date:** [July 28, 2021, 3:34pm UTC](https://discuss.kubernetes.io/t/error-unable-to-recognize-mongo-configmap-yaml-no-matches-for-kind-configmap-in-version-v1/16884/3 "2021-07-28T15:34:05Z")

</div>

Ok its work!!!
