# Edge Audit Log: Project not found

**URL:** <https://forum.inductiveautomation.com/t/edge-audit-log-project-not-found/75166>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [June 16, 2023, 8:07pm UTC](https://forum.inductiveautomation.com/t/edge-audit-log-project-not-found/75166 "2023-06-16T20:07:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shawn\_Rieger](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/shawn_rieger/32/46336_2.png) [@Shawn\_Rieger](https://forum.inductiveautomation.com/u/Shawn_Rieger)\
**Post date:** [June 16, 2023, 8:07pm UTC](https://forum.inductiveautomation.com/t/edge-audit-log-project-not-found/75166/1 "2023-06-16T20:07:59Z")

</div>

I just noticed one of our edge device logs is being flooded with "Error getting project properties for Edge audit log". I've reviewed all the locations where the Audit log is configured, and everything seems to check out. I'm not sure where to look next.

`|EdgeAuditManager|16Jun2023 19:39:48|Error getting project properties for Edge audit log.|`

```auto
com.inductiveautomation.ignition.common.project.ProjectNotFoundException: project not found: null
at com.inductiveautomation.ignition.gateway.project.IgnitionProjectManager.lambda$getProjectProps$1(IgnitionProjectManager.java:152)
at java.base/java.util.Optional.orElseThrow(Unknown Source)
at com.inductiveautomation.ignition.gateway.project.IgnitionProjectManager.getProjectProps(IgnitionProjectManager.java:152)
at com.inductiveautomation.ignition.gateway.audit.EdgeAuditManager.getProfileForProject(EdgeAuditManager.java:95)
at com.inductiveautomation.ignition.gateway.script.GatewayTagUtilities.audit(GatewayTagUtilities.java:660)
at com.inductiveautomation.ignition.gateway.script.GatewayTagUtilities.writeBlockingImpl(GatewayTagUtilities.java:305)
at com.inductiveautomation.ignition.common.script.builtin.AbstractTagUtilities.writeBlocking(AbstractTagUtilities.java:537)
at jdk.internal.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.python.core.PyReflectedFunction. __call__ (PyReflectedFunction.java:190)
at com.inductiveautomation.ignition.common.script.ScriptManager$ReflectedInstanceFunction. __call__ (ScriptManager.java:549)
at org.python.core.PyObject. __call__ (PyObject.java:477)
at org.python.core.PyObject. __call__ (PyObject.java:481)
at org.python.pycode._pyx11.valueChanged$1(:4)
at org.python.pycode._pyx11.call_function()
at org.python.core.PyTableCode.call(PyTableCode.java:173)
at org.python.core.PyBaseCode.call(PyBaseCode.java:306)
at org.python.core.PyFunction.function ___call__ (PyFunction.java:474)
at org.python.core.PyFunction. __call__ (PyFunction.java:469)
at org.python.core.PyFunction. __call__ (PyFunction.java:464)
at com.inductiveautomation.ignition.common.script.ScriptManager.runFunction(ScriptManager.java:839)
at com.inductiveautomation.ignition.common.script.ScriptManager.runFunction(ScriptManager.java:821)
at com.inductiveautomation.ignition.gateway.tags.scripting.TagScriptManagerImpl$FunctionInvokerImpl.run(TagScriptManagerImpl.java:533)
at com.inductiveautomation.ignition.gateway.tags.scripting.events.AbstractTagScript.invoke(AbstractTagScript.java:34)
at com.inductiveautomation.ignition.gateway.tags.scripting.TagScriptManagerImpl$Task.invoke(TagScriptManagerImpl.java:482)
at com.inductiveautomation.ignition.gateway.tags.scripting.TagScriptManagerImpl$TagScriptDispatcher.run(TagScriptManagerImpl.java:445)
at com.inductiveautomation.ignition.common.execution.impl.BasicExecutionEngine$ThrowableCatchingRunnable.run(BasicExecutionEngine.java:544)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)

```

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 16, 2023, 8:34pm UTC](https://forum.inductiveautomation.com/t/edge-audit-log-project-not-found/75166/2 "2023-06-16T20:34:31Z")

</div>

What version of Ignition is this?

---

<div class="post-metadata">

**Author:** ![Shawn\_Rieger](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/shawn_rieger/32/46336_2.png) [@Shawn\_Rieger](https://forum.inductiveautomation.com/u/Shawn_Rieger)\
**Post date:** [June 16, 2023, 8:45pm UTC](https://forum.inductiveautomation.com/t/edge-audit-log-project-not-found/75166/3 "2023-06-16T20:45:35Z")

</div>

Ignition Edge Gateway 8.1.20

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 16, 2023, 8:52pm UTC](https://forum.inductiveautomation.com/t/edge-audit-log-project-not-found/75166/4 "2023-06-16T20:52:08Z")

</div>

This is fixed in 8.1.29:

> [@Nightly 8.1 Changelogs - 2023](https://forum.inductiveautomation.com/t/nightly-8-1-changelogs-2023/68524/64):
>
> Missed the Friday May 26 build; here it is. Nightly Changelog: 8.1.29-SNAPSHOT-b20230526 Comms OPC IGN-7663: Allow Lists when writing to arrays or providing method input argument values Allow lists to be passed for parameters expecting arrays (writing to array tags, calling methods with array inputs). Perspective Perspective IGN-6157: Dropdown: ability to control the min and max menu height Dropdown, added properties to control the min and max menu height. Security Auditing IGN-7413…

---

<div class="post-metadata">

**Author:** ![Shawn\_Rieger](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/shawn_rieger/32/46336_2.png) [@Shawn\_Rieger](https://forum.inductiveautomation.com/u/Shawn_Rieger)\
**Post date:** [June 16, 2023, 8:59pm UTC](https://forum.inductiveautomation.com/t/edge-audit-log-project-not-found/75166/6 "2023-06-16T20:59:57Z")

</div>

> **IGN-7413: Edge Audit Manager: add extra handling for null project name**  
> When no name is provided while trying to retrieve the profile for a project, null will be returned. When a name is provided the behavior remains unchanged

Thanks @paul-griffith, "profile for a project" is this the audit log itself? how do you pull the profile for a project? Would this be when using "system.util.queryAuditLog"? Im not sure what to search for here to resolve this. I cannot update currently.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 16, 2023, 11:32pm UTC](https://forum.inductiveautomation.com/t/edge-audit-log-project-not-found/75166/7 "2023-06-16T23:32:55Z")

</div>

> [@Shawn\_Rieger](#):
>
> ```auto
> at com.inductiveautomation.ignition.gateway.tags.scripting.TagScriptManagerImpl$FunctionInvokerImpl.run(TagScriptManagerImpl.java:533)
> 
> ```

You've got a tag event script,

> [@Shawn\_Rieger](#):
>
> ```auto
> at com.inductiveautomation.ignition.gateway.script.GatewayTagUtilities.writeBlockingImpl(GatewayTagUtilities.java:305)
> 
> ```

That is itself writing to another tag.

Because that tag write is happening on the gateway but not from a Perspective session, it is attempting to audit. That attempt to audit first looks for an appropriate project to determine if it should actually store anything to the audit log. Due to a bug, there's no project name passed through the `getProfileForProject` method, which leads to the exception.

So, there's nothing to resolve, but you're also not going to get these scripted tag writes in the audit log until you upgrade.
