# Algoriddle: unable to execute a .teal

**URL:** <https://forum.algorand.co/t/algoriddle-unable-to-execute-a-teal/1180>\
**Category:** Uncategorized\
**Tags:** teal, asc\
**Created:** [December 8, 2019, 10:55am UTC](https://forum.algorand.co/t/algoriddle-unable-to-execute-a-teal/1180 "2019-12-08T10:55:29Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![cusma](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/cusma/32/888_2.png) [@cusma](https://forum.algorand.co/u/cusma)\
**Post date:** [December 8, 2019, 10:55am UTC](https://forum.algorand.co/t/algoriddle-unable-to-execute-a-teal/1180/1 "2019-12-08T10:55:29Z")

</div>

Hi there,

I was trying to execute the Algoriddle teal code, but I’m getting some errors.

I placed the algoriddle.teal file in the main directory `~/node` then I typed:

`./goal clerk send --amount 0 --argb64 " ***my solution***" --to " ***my address***" --from KFGWR5LVDNWO3RRDNUUZN725S7V7FG5RLYEHUAIROSL6CBKLEHCKVZRXTE --close-to " ***my address***" --from-program algoriddle.teal --fee 1000`

and get this error:

`Data directory not specified. Please use -d or set $ALGORAND_DATA in your environment. Exiting.`

so I retyped:

`./goal clerk send --amount 0 --argb64 " ***my solution***" --to " ***my address***" --from KFGWR5LVDNWO3RRDNUUZN725S7V7FG5RLYEHUAIROSL6CBKLEHCKVZRXTE --close-to " ***my address***" --from-program algoriddle.teal --fee 1000 -d ~/node`

and get this other error:

`Error determining kmd folder (open /Users/username/node/genesis.json: no such file or directory). Ensure the node is running in /Users/username/node.`

Any suggestion?

---

_[View the full topic](https://forum.algorand.co/t/algoriddle-unable-to-execute-a-teal/1180)._
