# system.report.executeAndDistribute argument limit 8.1.2

**URL:** <https://forum.inductiveautomation.com/t/system-report-executeanddistribute-argument-limit-8-1-2/44501>\
**Category:** Ignition\
**Created:** [March 16, 2021, 1:53am UTC](https://forum.inductiveautomation.com/t/system-report-executeanddistribute-argument-limit-8-1-2/44501 "2021-03-16T01:53:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael2](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@michael2](https://forum.inductiveautomation.com/u/michael2)\
**Post date:** [March 16, 2021, 1:53am UTC](https://forum.inductiveautomation.com/t/system-report-executeanddistribute-argument-limit-8-1-2/44501/1 "2021-03-16T01:53:34Z")

</div>

Hi, I am trying to use system.report.executeAndDistribute and I am getting the following error:

```auto
Traceback (most recent call last):
  File "<input>", line 2, in <module>
TypeError: expected at most 5 arguments, got 6

```

I am using path, project, attachmentName, parameters, action, actionSettings.

Is there a way around this?

---

<div class="post-metadata">

**Author:** ![Paullys50](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paullys50/32/3324_2.png) [@Paullys50](https://forum.inductiveautomation.com/u/Paullys50)\
**Post date:** [March 16, 2021, 2:41am UTC](https://forum.inductiveautomation.com/t/system-report-executeanddistribute-argument-limit-8-1-2/44501/2 "2021-03-16T02:41:22Z")

</div>

attachmentName should be a key/value pair within the parameters argument.

```auto
parameters = {'attachmentName': 'My Email Attachment'}

```
