# DispatchManager:Error during message dispatch: Project 'AAAAA' was not found

**URL:** <https://forum.inductiveautomation.com/t/dispatchmanager-error-during-message-dispatch-project-aaaaa-was-not-found/46152>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [April 29, 2021, 8:04am UTC](https://forum.inductiveautomation.com/t/dispatchmanager-error-during-message-dispatch-project-aaaaa-was-not-found/46152 "2021-04-29T08:04:20Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![park.dong](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@park.dong](https://forum.inductiveautomation.com/u/park.dong)\
**Post date:** [April 29, 2021, 8:04am UTC](https://forum.inductiveautomation.com/t/dispatchmanager-error-during-message-dispatch-project-aaaaa-was-not-found/46152/1 "2021-04-29T08:04:20Z")

</div>

Hi,  
After renaming ‘AAAAA’ project, always output error log every second:  
'DispatchManager: Error during message dispatch: Project ‘AAAAA’ was not found!  
I try to upgrade from 8.1.1 to 8.1.5, but error still appear.  
Is there any way to eliminate this error output?

thanks in advance.

---

<div class="post-metadata">

**Author:** ![matthew.ayre](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matthew.ayre/32/19499_2.png) [@matthew.ayre](https://forum.inductiveautomation.com/u/matthew.ayre)\
**Post date:** [April 29, 2021, 9:50am UTC](https://forum.inductiveautomation.com/t/dispatchmanager-error-during-message-dispatch-project-aaaaa-was-not-found/46152/2 "2021-04-29T09:50:33Z")

</div>

Hi @park.dong, this sounds like you are using [system.util.sendMessage()](https://docs.inductiveautomation.com/display/DOC81/system.util.sendMessage) somewhere that references this project. It could be from the same project or a different one.

Unfortunately, messages can be quite hard to track down sometimes 😅.

---

<div class="post-metadata">

**Author:** ![park.dong](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@park.dong](https://forum.inductiveautomation.com/u/park.dong)\
**Post date:** [April 30, 2021, 1:20am UTC](https://forum.inductiveautomation.com/t/dispatchmanager-error-during-message-dispatch-project-aaaaa-was-not-found/46152/3 "2021-04-30T01:20:59Z")

</div>

Matthew, thanks your reply.  
I don’t think so. I checked all the code (there is only one project and one code file on my test environment), not find system.util.sendMessage() is used. even I removed the project, that ‘Dispatch’ error still is thrown to log.

---

<div class="post-metadata">

**Author:** ![matthew.ayre](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matthew.ayre/32/19499_2.png) [@matthew.ayre](https://forum.inductiveautomation.com/u/matthew.ayre)\
**Post date:** [May 4, 2021, 7:35am UTC](https://forum.inductiveautomation.com/t/dispatchmanager-error-during-message-dispatch-project-aaaaa-was-not-found/46152/4 "2021-05-04T07:35:19Z")

</div>

@park.dong, are you able to use the [Find & Replace](https://docs.inductiveautomation.com/display/DOC81/Find+and+Replace) tool in designer to check that there are no references to the old project name anywhere? Make sure to configure it to look everywhere.

Do you have anyway Gateway scripts running?

---

<div class="post-metadata">

**Author:** ![park.dong](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@park.dong](https://forum.inductiveautomation.com/u/park.dong)\
**Post date:** [May 6, 2021, 2:08am UTC](https://forum.inductiveautomation.com/t/dispatchmanager-error-during-message-dispatch-project-aaaaa-was-not-found/46152/5 "2021-05-06T02:08:41Z")

</div>

I checked all the source using Find & Replace tool, there is exactly no any references to the old project name. ☹

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/e/2e3c957e6711793c003bc76c43fccc9656105579.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/5/5577469a5d7c7148bf09ad87ee58853de6b4d812.png)

---

<div class="post-metadata">

**Author:** ![matthew.ayre](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matthew.ayre/32/19499_2.png) [@matthew.ayre](https://forum.inductiveautomation.com/u/matthew.ayre)\
**Post date:** [May 6, 2021, 7:19am UTC](https://forum.inductiveautomation.com/t/dispatchmanager-error-during-message-dispatch-project-aaaaa-was-not-found/46152/6 "2021-05-06T07:19:09Z")

</div>

In your screenshot of the Find & Replace tool, the search scope is set to currently only look at open resources (e.g. ‘Open Queries (0)’ should be ‘All Queries (x)’, etc.)

Can you set it up to look like this:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/0/30b8ed263b02fa87dd84f35f9e2c7247c75f3aa1.png)

I’ll admit, it’s a long shot, but it’s still worth a try 🙂

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [May 6, 2021, 12:13pm UTC](https://forum.inductiveautomation.com/t/dispatchmanager-error-during-message-dispatch-project-aaaaa-was-not-found/46152/7 "2021-05-06T12:13:25Z")

</div>

Don’t forget to do this search in every project in the gateway.

---

<div class="post-metadata">

**Author:** ![park.dong](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@park.dong](https://forum.inductiveautomation.com/u/park.dong)\
**Post date:** [May 7, 2021, 12:57am UTC](https://forum.inductiveautomation.com/t/dispatchmanager-error-during-message-dispatch-project-aaaaa-was-not-found/46152/8 "2021-05-07T00:57:11Z")

</div>

Many thanks Matthew and Phil. Resolved by checking each file in the project.

---

<div class="post-metadata">

**Author:** ![hewking32](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@hewking32](https://forum.inductiveautomation.com/u/hewking32)\
**Post date:** [April 14, 2022, 4:23pm UTC](https://forum.inductiveautomation.com/t/dispatchmanager-error-during-message-dispatch-project-aaaaa-was-not-found/46152/9 "2022-04-14T16:23:06Z")

</div>

@matthew.ayre thanks you just just solved my problem!
