# Error when trying to create new page

**URL:** <https://discourse.gohugo.io/t/error-when-trying-to-create-new-page/24962>\
**Category:** Uncategorized\
**Created:** [April 23, 2020, 2:31am UTC](https://discourse.gohugo.io/t/error-when-trying-to-create-new-page/24962 "2020-04-23T02:31:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xphoenixstance](https://avatars.discourse-cdn.com/v4/letter/x/e9c0ed/32.png) [@xphoenixstance](https://discourse.gohugo.io/u/xphoenixstance)\
**Post date:** [April 23, 2020, 2:31am UTC](https://discourse.gohugo.io/t/error-when-trying-to-create-new-page/24962/1 "2020-04-23T02:31:07Z")

</div>

config.toml:3:1": unmarshal failed: Near line 3 (last key parsed ‘’): bare keys cannot contain ‘\x00’

getting this error after \> hugo new page.md

---

<div class="post-metadata">

**Author:** ![xphoenixstance](https://avatars.discourse-cdn.com/v4/letter/x/e9c0ed/32.png) [@xphoenixstance](https://discourse.gohugo.io/u/xphoenixstance)\
**Post date:** [April 23, 2020, 2:54am UTC](https://discourse.gohugo.io/t/error-when-trying-to-create-new-page/24962/2 "2020-04-23T02:54:37Z")

</div>

Figured out. Directory problem.

---

<div class="post-metadata">

**Author:** ![pointyfar](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/pointyfar/32/5797_2.png) [@pointyfar](https://discourse.gohugo.io/u/pointyfar)\
**Post date:** [April 23, 2020, 6:54am UTC](https://discourse.gohugo.io/t/error-when-trying-to-create-new-page/24962/3 "2020-04-23T06:54:26Z")

</div>

Archived on April 23, 2020, 6:54am UTC


