# \[SOLVED\] ID was not found

**URL:** <https://org-roam.discourse.group/t/solved-id-was-not-found/1934>\
**Category:** Troubleshooting\
**Created:** [August 13, 2021, 5:41am UTC](https://org-roam.discourse.group/t/solved-id-was-not-found/1934 "2021-08-13T05:41:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tolisin](https://avatars.discourse-cdn.com/v4/letter/t/ed655f/32.png) [@Tolisin](https://org-roam.discourse.group/u/Tolisin)\
**Post date:** [August 13, 2021, 5:41am UTC](https://org-roam.discourse.group/t/solved-id-was-not-found/1934/1 "2021-08-13T05:41:50Z")

</div>

Hi there,

I use headline IDs quite often (via org-store-link), especially in non-org-roam files. Recently, I moved a headline to a different file, while keeping the ID. However, when I click a link to said headline a window pops up displaying the following message:

> [@](#):
>
> ID was not found in org-roam-directory nor in org-id-locations. Search in org-id-files?

Why does it not recognize the ID anymore? Even when I create a new link to said headline, the ID is not recognized. I am I missing something?

---

<div class="post-metadata">

**Author:** ![Tolisin](https://avatars.discourse-cdn.com/v4/letter/t/ed655f/32.png) [@Tolisin](https://org-roam.discourse.group/u/Tolisin)\
**Post date:** [August 13, 2021, 1:50pm UTC](https://org-roam.discourse.group/t/solved-id-was-not-found/1934/2 "2021-08-13T13:50:35Z")

</div>

Found the answer myself. Coping IDs between files makes org-mode lose track (unless done with `refile`). Solution: Add relevant files to `org-id-locations` and then scan with `org-id-update-id-locations`.
