# Cryptic (invalid read syntax: #, 12, 719) when org-roam-node-find

**URL:** https://org-roam.discourse.group/t/cryptic-invalid-read-syntax-12-719-when-org-roam-node-find/2341
**Category:** Troubleshooting
**Created:** [January 6, 2022, 9:47am UTC](https://org-roam.discourse.group/t/cryptic-invalid-read-syntax-12-719-when-org-roam-node-find/2341 "2022-01-06T09:47:55Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![meccanus](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@meccanus](https://org-roam.discourse.group/u/meccanus)
#### Post date: [January 6, 2022, 9:47am UTC](https://org-roam.discourse.group/t/cryptic-invalid-read-syntax-12-719-when-org-roam-node-find/2341/1 "2022-01-06T09:47:55Z")

</div>

Hi,

I am using the latest org-roam, org-roam-ui and doom emacs and I’d be grateful for hints on how to debug one error I am facing.

When I run `org-roam-node-find`, all I get is the message (`invalid read syntax: #, 12, 719`). Nothing else at all. `org-roam-ref-find`, instead, offers me a list of REFS to jump to.

I thought I managed to solve it yesterday by removing some custom configurations around `org-roam-node-display-template`, but the problem has re-appeared today. This morning, having fiddled a bit more, it seems to work again. However, I don’t know why it broke and why it now works.

My question is: is there a way to get a slightly more verbose error message if the problem reappears? `toggle-debug-on-error` is of no help here.

Thank you very much!

R

---

<div class="post-metadata">

### Author: ![mandelbot](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@mandelbot](https://org-roam.discourse.group/u/mandelbot)
#### Post date: [March 19, 2022, 8:00pm UTC](https://org-roam.discourse.group/t/cryptic-invalid-read-syntax-12-719-when-org-roam-node-find/2341/2 "2022-03-19T20:00:07Z")

</div>

Hi meccanus, I am experiencing the same issue `(invalid read syntax: "#", 43, 1147)` with `org-roam-node-find` and `org-roam-node-capture` but not `org-roam-ref-find`. What exactly did you do to fix it? Have you made any progress on locating the issue since?

FWIW I do not have any cutom configuration for `org-roam-node-display-template`

---

<div class="post-metadata">

### Author: ![meccanus](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@meccanus](https://org-roam.discourse.group/u/meccanus)
#### Post date: [March 20, 2022, 11:22am UTC](https://org-roam.discourse.group/t/cryptic-invalid-read-syntax-12-719-when-org-roam-node-find/2341/3 "2022-03-20T11:22:43Z")

</div>

Unfortunately I couldn’t identify the root cause of the issue. When it happens, I tend to delete the database and let org-roam regenerate it. Things then work for a bit. Let me know if you have any hints or make any progress on this!

---

<div class="post-metadata">

### Author: ![mandelbot](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@mandelbot](https://org-roam.discourse.group/u/mandelbot)
#### Post date: [March 27, 2022, 9:07pm UTC](https://org-roam.discourse.group/t/cryptic-invalid-read-syntax-12-719-when-org-roam-node-find/2341/4 "2022-03-27T21:07:48Z")

</div>

Huh, yeah clearing the database with `org-roam-db-clear-all` and `org-roam-db-sync` seemed to work. Still no idea why this happened.
