# Maximum recursion depth exceeded. Report, Perspective pop-up. Dynamic Data Key

**URL:** <https://forum.inductiveautomation.com/t/maximum-recursion-depth-exceeded-report-perspective-pop-up-dynamic-data-key/30412>\
**Category:** Ignition Early Access\
**Created:** [December 3, 2019, 5:23pm UTC](https://forum.inductiveautomation.com/t/maximum-recursion-depth-exceeded-report-perspective-pop-up-dynamic-data-key/30412 "2019-12-03T17:23:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wking](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wking/32/21823_2.png) [@wking](https://forum.inductiveautomation.com/u/wking)\
**Post date:** [December 3, 2019, 5:23pm UTC](https://forum.inductiveautomation.com/t/maximum-recursion-depth-exceeded-report-perspective-pop-up-dynamic-data-key/30412/1 "2019-12-03T17:23:18Z")

</div>

I added a new text shape component to one of my reports. I am trying to use a dynamic data key to control the visibility of this component.

But, I get the following error returned.

```auto
 W [p.a.script] [17:12:34]: Error running function "runAction(self, event)". component=root/Button, view=Pages/barcodetest@C
INFO | jvm 1 | 2019/12/03 11:12:34 | com.inductiveautomation.ignition.common.script.JythonExecException: Traceback (most recent call last):
INFO | jvm 1 | 2019/12/03 11:12:34 | File "<function:runAction>", line 5, in runAction
INFO | jvm 1 | 2019/12/03 11:12:34 | RuntimeError: maximum recursion depth exceeded (Java StackOverflowError)

```

Script on test button currently:

```auto
params = {"count": 1300, "wip":'19D03330A001', "part": '038', "show":'true'}		
bytesArray = system.report.executeReport(path="Report", project="SCADA", parameters=params,fileType="pdf")
system.perspective.download('wiptag.pdf', bytesArray)

```

I have tried passing the string of ‘true’ and ‘false’  
also tried 1 and 0  
the datatype of the prop is bool.  
I’ve tried using a long, string and bool parameter data type as well. Always get the same error.

So I thought maybe it was a pop-up problem. So I put the button on a test page that isn’t a pop-up and the same result.

What am I doing wrong?

 ![show](https://us1.discourse-cdn.com/inductiveautomation/original/2X/8/846acd60fbb5343c36466c1f04499feb6cae58ae.jpeg)
