# Unsupported script state

**URL:** <https://hub.mender.io/t/unsupported-script-state/2458>\
**Category:** General Discussions\
**Created:** [September 17, 2020, 12:33pm UTC](https://hub.mender.io/t/unsupported-script-state/2458 "2020-09-17T12:33:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SamanRatna](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@SamanRatna](https://hub.mender.io/u/SamanRatna)\
**Post date:** [September 17, 2020, 12:33pm UTC](https://hub.mender.io/t/unsupported-script-state/2458/1 "2020-09-17T12:33:29Z")

</div>

I have an error showing unsupported script state while generating mender artifact using single-artifact-gen. I used scripts for Download\_Enter and Sync\_Leave states. Both showed same issues.

What am I missing ? I am using Mender version 2.2.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [September 17, 2020, 2:16pm UTC](https://hub.mender.io/t/unsupported-script-state/2458/2 "2020-09-17T14:16:42Z")

</div>

Download and Sync states are not artifact related. They need to be installed into the target root file system. [Details are here](https://docs.mender.io/artifact-creation/state-scripts#root-file-system-and-artifact-scripts).

Drew
