# Code Block Error

**URL:** <https://forum.dynamobim.com/t/code-block-error/53816>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [August 7, 2020, 4:24am UTC](https://forum.dynamobim.com/t/code-block-error/53816 "2020-08-07T04:24:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ranjit.chatterjee](https://avatars.discourse-cdn.com/v4/letter/r/ac8455/32.png) [@ranjit.chatterjee](https://forum.dynamobim.com/u/ranjit.chatterjee)\
**Post date:** [August 7, 2020, 4:24am UTC](https://forum.dynamobim.com/t/code-block-error/53816/1 "2020-08-07T04:24:34Z")

</div>

How to fix the below mentioned code block error.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/c/0c54087f1ce735db0d5fabd1c134a088d5d3b757.png)

---

<div class="post-metadata">

**Author:** ![askgrk](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/askgrk/32/88700_2.png) [@askgrk](https://forum.dynamobim.com/u/askgrk)\
**Post date:** [August 7, 2020, 6:42am UTC](https://forum.dynamobim.com/t/code-block-error/53816/2 "2020-08-07T06:42:02Z")

</div>

Dear @ranjit.chatterjee

Could you please Share the Complete Script, As per the attached Screenshot I can Say that the Problem is in the First Line  
**points = DSCore.List.GetItemAtIndex(clash@L2\<1\>,1)**  
Remove the Line & Use GetItemAtIndex Node to Clear that Warning.

Regards

---

<div class="post-metadata">

**Author:** ![ranjit.chatterjee](https://avatars.discourse-cdn.com/v4/letter/r/ac8455/32.png) [@ranjit.chatterjee](https://forum.dynamobim.com/u/ranjit.chatterjee)\
**Post date:** [August 7, 2020, 6:52am UTC](https://forum.dynamobim.com/t/code-block-error/53816/3 "2020-08-07T06:52:20Z")

</div>

Dear,

Now the problem is solved.
