# Invalid syntax parsing Named node

**URL:** https://discuss.dgraph.io/t/invalid-syntax-parsing-named-node/17002
**Category:** Dgraph Clients
**Created:** [March 15, 2022, 2:46am UTC](https://discuss.dgraph.io/t/invalid-syntax-parsing-named-node/17002 "2022-03-15T02:46:18Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![adlerfaulkner](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/adlerfaulkner/32/9607_2.png) [@adlerfaulkner](https://discuss.dgraph.io/u/adlerfaulkner)
#### Post date: [March 15, 2022, 2:46am UTC](https://discuss.dgraph.io/t/invalid-syntax-parsing-named-node/17002/1 "2022-03-15T02:46:18Z")

</div>

When submitting this mutation

```auto
{ 
  set {
	_:m <uri> <https://comake.io> .
  } 
}

```

I get:

```auto
{
  "name": "t",
  "url": "http://localhost:8080/mutate?commitNow=true",
  "errors": [
    {
      "message": "strconv.ParseUint: parsing \"https://comake.io\": invalid syntax",
      "extensions": {
        "code": "ErrorInvalidRequest"
      }
    }
  ]
}

```

I get the same result using Dgraph-js v21.3.1 and through Ratel.  
It doesn’t seem to matter what I change the predicate to.

I would expect this transaction to work because it is nearly identical to the code in the first example on this docs page [https://dgraph.io/docs/mutations/external-ids/](https://dgraph.io/docs/mutations/external-ids/)

```auto
_:userA <http://schema.org/type> <http://schema.org/Person> .

```

Dgraph version:  
dgraph-personal/v21.12.0-2-gd93ac1a2d

---

<div class="post-metadata">

### Author: ![RickSalmon](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/ricksalmon/32/8025_2.png) [@RickSalmon](https://discuss.dgraph.io/u/RickSalmon)
#### Post date: [March 15, 2022, 2:57am UTC](https://discuss.dgraph.io/t/invalid-syntax-parsing-named-node/17002/2 "2022-03-15T02:57:53Z")

</div>

I’m not exactly sure what the documentation is trying to demonstrate there, but if your objective is to save the link as a string in dgraph then this will do it:

```auto
{
  set {
    _:m <uri> "https://comake.io" .
  }
}

```

---

<div class="post-metadata">

### Author: ![adlerfaulkner](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/adlerfaulkner/32/9607_2.png) [@adlerfaulkner](https://discuss.dgraph.io/u/adlerfaulkner)
#### Post date: [March 15, 2022, 3:01am UTC](https://discuss.dgraph.io/t/invalid-syntax-parsing-named-node/17002/3 "2022-03-15T03:01:34Z")

</div>

Yeah, that works. I guess that example is just displaying how you’d write real RDF triples in an RDF store. Thanks!
