# CTK env value "None" String is not Allowed

**URL:** <https://community.mosip.io/t/ctk-env-value-none-string-is-not-allowed/766>\
**Category:** General\
**Created:** [September 14, 2023, 1:13am UTC](https://community.mosip.io/t/ctk-env-value-none-string-is-not-allowed/766 "2023-09-14T01:13:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dragon\_king](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/dragon_king/32/596_2.png) [@dragon\_king](https://community.mosip.io/u/dragon_king)\
**Post date:** [September 14, 2023, 1:13am UTC](https://community.mosip.io/t/ctk-env-value-none-string-is-not-allowed/766/1 "2023-09-14T01:13:07Z")

</div>

![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/b799c75984e9432b2a70750237973b9bb1738c5d.png)

in the MDS deviceinfo document, it says  
for devices that are not registered the environment is “None”.  
I set the env filed with “None” String for the not registered device, but the CTK Tested failed。

I looked into the ctk code file 【DeviceInfoNotRegisteredResponseSchema.json】  
it only allow values are “Staging”, “Developer”, “Pre-Production” or “Production”  
just as the image below shows

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/527d6b951d3126b91bfab46fdc19af4c07981e0d.png)

---

<div class="post-metadata">

**Author:** ![mayuradesh](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@mayuradesh](https://community.mosip.io/u/mayuradesh)\
**Post date:** [September 14, 2023, 5:57am UTC](https://community.mosip.io/t/ctk-env-value-none-string-is-not-allowed/766/2 "2023-09-14T05:57:40Z")

</div>

Thank you for the inputs.

Will update it accordingly.
