# Error in VsCode with dataDriver

**URL:** <https://forum.robotframework.org/t/error-in-vscode-with-datadriver/7420>\
**Category:** DataDriver\
**Created:** [12 June 2024 20:17 UTC](https://forum.robotframework.org/t/error-in-vscode-with-datadriver/7420 "2024-06-12T20:17:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![normus](https://avatars.discourse-cdn.com/v4/letter/n/d6d6ee/32.png) [@normus](https://forum.robotframework.org/u/normus)\
**Post date:** [12 June 2024 20:17 UTC](https://forum.robotframework.org/t/error-in-vscode-with-datadriver/7420/1 "2024-06-12T20:17:02Z")

</div>

Hi all 😉  
This code works fine and executes all the test cases in the Excel file, but one line is highlighted in red (I don’t get this error with 2 arguments)\>  
Thank you for your help 😉

 ![3arguments](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/5/5426e6c0498e75378cdbf0cda7bd32631e44e2a1.png)

---

<div class="post-metadata">

**Author:** ![Noordsestern](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/noordsestern/32/4270_2.png) [@Noordsestern](https://forum.robotframework.org/u/Noordsestern)\
**Post date:** [12 June 2024 20:29 UTC](https://forum.robotframework.org/t/error-in-vscode-with-datadriver/7420/2 "2024-06-12T20:29:57Z")

</div>

Hi Nordine,

I think, we need to provide a third dummy parameter for `error message` additional to `Default` and `UserData`. If I remember correctly, this is basically an exercise to trick the static parser in to accepting the code. During runtime DataDriver takes care of creating the test cases correctly.

If a third parameter does not work, maybe you can name the plugin for Robot Framework that you use in VSCode. It looks like Robotcode (good choice 😉 ), but just to be sure.

Regards,  
Markus

---

<div class="post-metadata">

**Author:** ![normus](https://avatars.discourse-cdn.com/v4/letter/n/d6d6ee/32.png) [@normus](https://forum.robotframework.org/u/normus)\
**Post date:** [12 June 2024 21:49 UTC](https://forum.robotframework.org/t/error-in-vscode-with-datadriver/7420/3 "2024-06-12T21:49:30Z")

</div>

Hi Markus,  
After adding third dummy parameter it work 🎉  
Thank you 🙏 Markus for your help
