# Errors Working Through Tutorials

**URL:** <https://discuss.dgraph.io/t/errors-working-through-tutorials/6039>\
**Category:** Users\
**Tags:** example, kind:bug\
**Created:** [February 25, 2020, 4:51pm UTC](https://discuss.dgraph.io/t/errors-working-through-tutorials/6039 "2020-02-25T16:51:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmcken3](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@mmcken3](https://discuss.dgraph.io/u/mmcken3)\
**Post date:** [February 25, 2020, 4:51pm UTC](https://discuss.dgraph.io/t/errors-working-through-tutorials/6039/1 "2020-02-25T16:51:54Z")

</div>

I have been working through some of the tutorials on the site recently and most of the documentation makes sense to me. However, there are a few steps where when I run the examples locally I get some kind of schema or query use errors. The one example I will put on here is from this tutorial: [https://tour.dgraph.io/moredata/1/](https://tour.dgraph.io/moredata/1/).

When I run the exec to load in the data it throws an error like this over and over again:

```auto
Error while mutating: Attr: [name] should have @lang directive in schema to mutate edge: [entity:15018556683018336782 attr:"name" value:"Ellen McLaughlin" lang:"en"] s.Code Unknown

```

Is there something that I am doing wrong here or is this actually mismatch in setup of the tutorials with what is in the latest release? There were a few other issues in some of the earlier tutorials as well that I can post if this is actually an issue.

---

<div class="post-metadata">

**Author:** ![MichelDiz](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/micheldiz/32/11873_2.png) [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Post date:** [February 25, 2020, 5:17pm UTC](https://discuss.dgraph.io/t/errors-working-through-tutorials/6039/2 "2020-02-25T17:17:34Z")

</div>

Before running the live load you have to add the Schema. Just run the schema on that page of the tour and then run the live load.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex007/uploads/dgraph/original/2X/2/2b38fdece2abe5814f2e51bee69d1e67fc304b0a.png) [@system](https://discuss.dgraph.io/u/system)\
**Post date:** [March 26, 2020, 5:30pm UTC](https://discuss.dgraph.io/t/errors-working-through-tutorials/6039/3 "2020-03-26T17:30:01Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
