# Error warning in Dynamo Player but no warning when the editor is opened

**URL:** <https://forum.dynamobim.com/t/error-warning-in-dynamo-player-but-no-warning-when-the-editor-is-opened/97867>\
**Category:** Dynamo Player\
**Created:** [February 7, 2024, 1:42am UTC](https://forum.dynamobim.com/t/error-warning-in-dynamo-player-but-no-warning-when-the-editor-is-opened/97867 "2024-02-07T01:42:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![edwinprakoso](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/edwinprakoso/32/171779_2.png) [@edwinprakoso](https://forum.dynamobim.com/u/edwinprakoso)\
**Post date:** [February 7, 2024, 1:42am UTC](https://forum.dynamobim.com/t/error-warning-in-dynamo-player-but-no-warning-when-the-editor-is-opened/97867/1 "2024-02-07T01:42:04Z")

</div>

Dear all,  
I created a graph to create dimensions from grids or walls. Because generating the curve is different for both elements, I tried to create a conditional statement, depending on the type of selected elements.  
I get this warning when I run the graph from the Dynamo player. The strange thing is I don’t get this warning when I run the graph from Dynamo or run it from Dynamo Player with Dynamo opened.  
 ![player warning](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/c/6c12db8dcfa21a3463528d851f6926d5515aaaba.png)

Below is the graph I created

 ![dynamo graph](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/6/a6f2141bafb79521e0dd5cd6c1362912c3df9004.png)

The codeblock script is below  
`y=DSCore.Object.Type(x); y=="Revit.Elements.Grid"? Grid.Curve(x): Revit.Element.GetLocation(x);`

I have no idea what the problem is. Can anyone help?

---

<div class="post-metadata">

**Author:** ![pyXam](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/pyxam/32/163009_2.png) [@pyXam](https://forum.dynamobim.com/u/pyXam)\
**Post date:** [February 7, 2024, 3:15am UTC](https://forum.dynamobim.com/t/error-warning-in-dynamo-player-but-no-warning-when-the-editor-is-opened/97867/2 "2024-02-07T03:15:25Z")

</div>

Does it work as intended when played in the editer?  
Does it work as intended (Even with the error) when played in the player?

If yes and yes, remove this node?  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/a/fa90bfd69f17ef7020bfc2c09d698fd123a48f69.png)

If Yes and No then someone else will need to help, i’m not so flash on structural elements.

---

<div class="post-metadata">

**Author:** ![edwinprakoso](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/edwinprakoso/32/171779_2.png) [@edwinprakoso](https://forum.dynamobim.com/u/edwinprakoso)\
**Post date:** [February 7, 2024, 4:01am UTC](https://forum.dynamobim.com/t/error-warning-in-dynamo-player-but-no-warning-when-the-editor-is-opened/97867/3 "2024-02-07T04:01:40Z")

</div>

pyXam, thank you for taking a look.

Does it work as intended when played in the editor? _Yes. In editor works as intended and no warning_  
Does it work as intended (Even with the error) when played in the player? _Yes. It still works as intended but has warning_

I tried to remove that node but still got the warning. It must be a remnant when I built the graph.  
Maybe I’ll just make two graphs, one for grids and another one for walls. Easier that way.  
But I’m still curious, though.

---

<div class="post-metadata">

**Author:** ![pyXam](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/pyxam/32/163009_2.png) [@pyXam](https://forum.dynamobim.com/u/pyXam)\
**Post date:** [February 7, 2024, 4:06am UTC](https://forum.dynamobim.com/t/error-warning-in-dynamo-player-but-no-warning-when-the-editor-is-opened/97867/4 "2024-02-07T04:06:10Z")

</div>

Does the Graph Contain any other nodes floating around doing nothing?

---

<div class="post-metadata">

**Author:** ![edwinprakoso](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/edwinprakoso/32/171779_2.png) [@edwinprakoso](https://forum.dynamobim.com/u/edwinprakoso)\
**Post date:** [February 7, 2024, 4:50am UTC](https://forum.dynamobim.com/t/error-warning-in-dynamo-player-but-no-warning-when-the-editor-is-opened/97867/5 "2024-02-07T04:50:45Z")

</div>

No.  
I found this known issues for Dynamo Player: [Help](https://help.autodesk.com/view/RVT/2024/ENU/?guid=RevitDynamo_Dynamo_Player_Known_Issues_for_Dynamo_Player_html)  
I’ll try that later, I think it might be it.

---

<div class="post-metadata">

**Author:** ![edwinprakoso](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/edwinprakoso/32/171779_2.png) [@edwinprakoso](https://forum.dynamobim.com/u/edwinprakoso)\
**Post date:** [February 7, 2024, 8:13am UTC](https://forum.dynamobim.com/t/error-warning-in-dynamo-player-but-no-warning-when-the-editor-is-opened/97867/6 "2024-02-07T08:13:26Z")

</div>

Apparently, this is one of several issues in Dynamo. It was solved after I followed the fix from Autodesk help.  
Thank you pyXam.
