# Project and Shared scripts unaccessible (Reporting Module)

**URL:** <https://forum.inductiveautomation.com/t/project-and-shared-scripts-unaccessible-reporting-module/37880>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [August 18, 2020, 7:33pm UTC](https://forum.inductiveautomation.com/t/project-and-shared-scripts-unaccessible-reporting-module/37880 "2020-08-18T19:33:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mlopez48](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@mlopez48](https://forum.inductiveautomation.com/u/mlopez48)\
**Post date:** [August 18, 2020, 7:33pm UTC](https://forum.inductiveautomation.com/t/project-and-shared-scripts-unaccessible-reporting-module/37880/1 "2020-08-18T19:33:06Z")

</div>

The reporting module displays a "Data Collection Error" message whenever trying to call scripts from Scripting\>Project Library\>project or Scripting\>Project\>shared.

## I tried the following combinations:

> import shared.myScript  
> foo()

* * *

> from shared.myScript import foo  
> foo()

* * *

> shared.myScript.foo()

* * *

Additional Info:  
Using Ignition Designer (Mac)  
Ignition 8.0.15

---

<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:** [August 18, 2020, 7:37pm UTC](https://forum.inductiveautomation.com/t/project-and-shared-scripts-unaccessible-reporting-module/37880/2 "2020-08-18T19:37:30Z")

</div>

You upgraded from 7.9 or an earlier version? Did you restore your .gwbk directly/run the installer to upgrade, or manually restore your project(s)?

---

<div class="post-metadata">

**Author:** ![mlopez48](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@mlopez48](https://forum.inductiveautomation.com/u/mlopez48)\
**Post date:** [August 18, 2020, 7:44pm UTC](https://forum.inductiveautomation.com/t/project-and-shared-scripts-unaccessible-reporting-module/37880/3 "2020-08-18T19:44:13Z")

</div>

We upgraded from 7.9.9 using the installer. Our reporting needs changed a little so I’m building the new reports from scratch in 8.0. Not sure if it’s related but the script I’m referencing from Shared scripts uses function system.mes.loadMESObject.

---

<div class="post-metadata">

**Author:** ![mlopez48](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@mlopez48](https://forum.inductiveautomation.com/u/mlopez48)\
**Post date:** [August 27, 2020, 12:43am UTC](https://forum.inductiveautomation.com/t/project-and-shared-scripts-unaccessible-reporting-module/37880/4 "2020-08-27T00:43:27Z")

</div>

I troubleshooted a little more and it seems that the following form does work

> shared.myScript.foo()

The error was caused by incorrect parameters passed to system.mes.loadMESObject() within the script.
