# Error using appendToCSV with Katalon Recorder V 5.5.3

**URL:** <https://forum.katalon.com/t/error-using-appendtocsv-with-katalon-recorder-v-5-5-3/57655>\
**Category:** Bug Report\
**Tags:** katalon-recorder\
**Created:** [August 23, 2021, 11:36am UTC](https://forum.katalon.com/t/error-using-appendtocsv-with-katalon-recorder-v-5-5-3/57655 "2021-08-23T11:36:17Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![makra](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/makra/32/22378_2.png) [@makra](https://forum.katalon.com/u/makra)\
**Post date:** [August 23, 2021, 11:36am UTC](https://forum.katalon.com/t/error-using-appendtocsv-with-katalon-recorder-v-5-5-3/57655/1 "2021-08-23T11:36:17Z")

</div>

i have tested the “appendToCSV sample”  
see log file, please:

#### [info] Playing test case CSV manipulation / appendToCSV sample

#### [info] Time: Mon Aug 23 2021 13:32:41 GMT+0200 (Mitteleuropäische Sommerzeit) Timestamp: 1629718361484

#### [info] OS: Windows Version: 10

#### [info] Browser: Chrome Version: 91.0

#### [info] If the test cannot start, please refresh the active browser tab

#### [info] Executing: | loadVars | data.csv | |

#### [info] Executing: | echo | ${first} ${last} | |

#### [info] Expand variable ‘${first} ${last}’ into ‘Alex Smith’

#### [info] echo: Alex Smith

#### [info] Executing: | endLoadVars | undefined | |

#### [info] Executing: | echo | ${first} ${last} | |

#### [info] Expand variable ‘${first} ${last}’ into ‘Steve Rogers’

#### [info] echo: Steve Rogers

#### [info] Executing: | endLoadVars | undefined | |

#### [info] Executing: | echo | ${first} ${last} | |

#### [info] Expand variable ‘${first} ${last}’ into ‘Bruce Wayne’

#### [info] echo: Bruce Wayne

#### [info] Executing: | endLoadVars | undefined | |

#### [info] Executing: | appendToCSV | data.csv | Sam,Smith |

#### [error] Unknown command: appendToCSV

#### [info] Time: Mon Aug 23 2021 13:32:41 GMT+0200 (Mitteleuropäische Sommerzeit) Timestamp: 1629718361839

#### [info] Test case failed

appendToCSV is an unknown command.

kindly regards

Martin from Germany

---

<div class="post-metadata">

**Author:** ![dennis.hohn](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/dennis.hohn/32/17228_2.png) [@dennis.hohn](https://forum.katalon.com/u/dennis.hohn)\
**Post date:** [August 23, 2021, 12:13pm UTC](https://forum.katalon.com/t/error-using-appendtocsv-with-katalon-recorder-v-5-5-3/57655/2 "2021-08-23T12:13:55Z")

</div>

I am seeing the same thing with writeToCSV since the update to Recorder.

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [August 23, 2021, 1:10pm UTC](https://forum.katalon.com/t/error-using-appendtocsv-with-katalon-recorder-v-5-5-3/57655/3 "2021-08-23T13:10:01Z")

</div>

Thank you for your report, we are fixing this issue in the next release.

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [August 26, 2021, 9:10am UTC](https://forum.katalon.com/t/error-using-appendtocsv-with-katalon-recorder-v-5-5-3/57655/4 "2021-08-26T09:10:41Z")

</div>

@makra @dennis.hohn

Hi 5.5.4 is released. Can you try it out and see if the problem is resolved?

---

<div class="post-metadata">

**Author:** ![joses.reward](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/joses.reward/32/16104_2.png) [@joses.reward](https://forum.katalon.com/u/joses.reward)\
**Post date:** [August 26, 2021, 9:36am UTC](https://forum.katalon.com/t/error-using-appendtocsv-with-katalon-recorder-v-5-5-3/57655/5 "2021-08-26T09:36:09Z")

</div>

Hello, I’m trying to test loadvars with the latest update of katalon recorder in 5.5.4, but it’s not working to read my csv. Can u help me?

---

<div class="post-metadata">

**Author:** ![kong22](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kong22/32/16104_2.png) [@kong22](https://forum.katalon.com/u/kong22)\
**Post date:** [August 26, 2021, 11:57am UTC](https://forum.katalon.com/t/error-using-appendtocsv-with-katalon-recorder-v-5-5-3/57655/6 "2021-08-26T11:57:09Z")

</div>

katalon recorder 5.5.4 cant read csv file, [error] SyntaxError: Unexpected token u in JSON at position 0, for sure open csv file, but always error json file

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [August 26, 2021, 11:57am UTC](https://forum.katalon.com/t/error-using-appendtocsv-with-katalon-recorder-v-5-5-3/57655/7 "2021-08-26T11:57:42Z")

</div>

> [@kong22](#):
>
> katalon recorder 5.5.4 cant read csv file

You mean it can’t read JSON file, is that correct? Or do you mean it says that CSV file is a JSON file.

---

<div class="post-metadata">

**Author:** ![iliyaboyarov317](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/iliyaboyarov317/32/16104_2.png) [@iliyaboyarov317](https://forum.katalon.com/u/iliyaboyarov317)\
**Post date:** [August 26, 2021, 2:44pm UTC](https://forum.katalon.com/t/error-using-appendtocsv-with-katalon-recorder-v-5-5-3/57655/8 "2021-08-26T14:44:30Z")

</div>

I’m using next command:  
 ![image](https://europe1.discourse-cdn.com/katalon/original/3X/9/5/957831930dd28d1e4a1892f0ffa2e6ff3707e066.png)  
After this i get the error:  
 ![image](https://europe1.discourse-cdn.com/katalon/original/3X/9/7/97730ba9d42fe3796fe8e22760e31139a248731d.png)

so I can’t load any variables form the csv file. This has come after update on 5.5.4  
How can we fix this problem?

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [August 26, 2021, 2:44pm UTC](https://forum.katalon.com/t/error-using-appendtocsv-with-katalon-recorder-v-5-5-3/57655/9 "2021-08-26T14:44:52Z")

</div>

@iliyaboyarov317

Can you provide me with your CSV file? I can’t reproduce this on my side.

---

<div class="post-metadata">

**Author:** ![iliyaboyarov317](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/iliyaboyarov317/32/16104_2.png) [@iliyaboyarov317](https://forum.katalon.com/u/iliyaboyarov317)\
**Post date:** [August 26, 2021, 4:07pm UTC](https://forum.katalon.com/t/error-using-appendtocsv-with-katalon-recorder-v-5-5-3/57655/10 "2021-08-26T16:07:11Z")

</div>

[Lera\_date\_numbers.zip](https://forum.katalon.com/uploads/short-url/dVc1681BetIope03sVwfnxmpqth.zip) (204 Bytes)

Of couse, I can, but here it is nothing interesting.  
I convert this file to json and Katalon recoder has read it.  
The problem is that the recoder says that CSV file is a JSON file, so it tries to read it as JSON and after gives us a mistake like this:  
 ![image](https://europe1.discourse-cdn.com/katalon/original/3X/4/9/49defe25f685e11313392f7cda92a4504fb960eb.png)

In the previous version we had to files types to add csv or json now they are connected.

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [August 26, 2021, 4:09pm UTC](https://forum.katalon.com/t/error-using-appendtocsv-with-katalon-recorder-v-5-5-3/57655/11 "2021-08-26T16:09:47Z")

</div>

Hi @iliyaboyarov317, thank you for sharing the file. Are you using Mac or Windows, I use a Mac and I can’t reproduce this so I’m looking for evidence that it may be a Window issue.

---

<div class="post-metadata">

**Author:** ![iliyaboyarov317](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/iliyaboyarov317/32/16104_2.png) [@iliyaboyarov317](https://forum.katalon.com/u/iliyaboyarov317)\
**Post date:** [August 26, 2021, 4:13pm UTC](https://forum.katalon.com/t/error-using-appendtocsv-with-katalon-recorder-v-5-5-3/57655/12 "2021-08-26T16:13:22Z")

</div>

Windows, can I send you a file somehow differently? I cant drop csv file in this forum

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [August 26, 2021, 4:15pm UTC](https://forum.katalon.com/t/error-using-appendtocsv-with-katalon-recorder-v-5-5-3/57655/13 "2021-08-26T16:15:55Z")

</div>

Hi, yes there are sites that you can use to upload files pretty quickly, for example this one:

> **[Gofile - Free file sharing and storage platform](https://gofile.io/welcome)**
>
> Gofile is a free file sharing and storage platform. You can store and share data of all types. There is no limit and everything is free.

You can paste the link here. (or in a private message if your file is sensitive).

---

<div class="post-metadata">

**Author:** ![iliyaboyarov317](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/iliyaboyarov317/32/16104_2.png) [@iliyaboyarov317](https://forum.katalon.com/u/iliyaboyarov317)\
**Post date:** [August 26, 2021, 4:20pm UTC](https://forum.katalon.com/t/error-using-appendtocsv-with-katalon-recorder-v-5-5-3/57655/14 "2021-08-26T16:20:39Z")

</div>

> [@ThanhTo](#):
>
> Window issue

> **[Gofile - Free Unlimited File Sharing and Storage](https://gofile.io/d/25fbEH)**
>
> Gofile is a free, secure file sharing and storage platform. With unlimited bandwidth and storage, you can easily store and share files of any type without any limits. Our advanced features, such as CDN support and password protection, make Gofile the...

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [August 27, 2021, 3:41am UTC](https://forum.katalon.com/t/error-using-appendtocsv-with-katalon-recorder-v-5-5-3/57655/15 "2021-08-27T03:41:04Z")

</div>

Hi guys, in case these issues are stopping your work. Katalon Recorder is open-sourced and we also released earlier versions. You can temporarily disable the current version of KR, download [the source code of 5.5.2.4](https://github.com/katalon-studio/katalon-recorder/releases/tag/v5.5.2.4) and [install an unpacked extension into Chrome](https://webkul.com/blog/how-to-install-the-unpacked-extension-in-chrome/) to use an earlier version.

I truly apologize for the inconvenience and our team are working on fixing the issues.

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [August 30, 2021, 2:32pm UTC](https://forum.katalon.com/t/error-using-appendtocsv-with-katalon-recorder-v-5-5-3/57655/16 "2021-08-30T14:32:44Z")

</div>

Hi everyone,

KR 5.5.4.1 is released and we have fixed the following issues:

- Fixed an issue where users cannot execute tests with CSV files on Windows.
- Fixed an issue where copy and pasting a command does not work as expected.
- Fixed an issue where users cannot open .krecorder files.
- Fixed an issue where users can’t see test steps’ statuses after executions.
- Fixed an issue where users can’t visually distinguish between passed and failed tests.

Please try it out and see if it works!

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [September 28, 2021, 11:47am UTC](https://forum.katalon.com/t/error-using-appendtocsv-with-katalon-recorder-v-5-5-3/57655/17 "2021-09-28T11:47:36Z")

</div>

Split this topic on September 28, 2021, 11:47am UTC

4 posts were split to a new topic: [Help with using CSV file in Katalon Recorder](https://forum.katalon.com/t/help-with-using-csv-file-in-katalon-recorder/58671)

---

<div class="post-metadata">

**Author:** ![akhi.hk](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/akhi.hk/32/16104_2.png) [@akhi.hk](https://forum.katalon.com/u/akhi.hk)\
**Post date:** [December 9, 2021, 7:00am UTC](https://forum.katalon.com/t/error-using-appendtocsv-with-katalon-recorder-v-5-5-3/57655/18 "2021-12-09T07:00:29Z")

</div>

Hi,

```
I have used the appendCsv in my KR scripts but when i try to export the script to Katalon studio, it says appendCSv is incompatible .. So cant i run the KR scripts in Studio if appendCsv is used.?

```

Thanks

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [December 9, 2021, 4:57pm UTC](https://forum.katalon.com/t/error-using-appendtocsv-with-katalon-recorder-v-5-5-3/57655/19 "2021-12-09T16:57:48Z")

</div>

Hi @akhi.hk

If your script’s main purpose is to write things down to CSV files then yes it will not work as expected. `appendToCSV` is one of the commands that’s KR-specific so it’s going to be commented out when you export your tests to KS. Note that KS does provide ways to write values to files, it’s just different than in KR.

---

<div class="post-metadata">

**Author:** ![dedavag177](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/dedavag177/32/20464_2.png) [@dedavag177](https://forum.katalon.com/u/dedavag177)\
**Post date:** [September 26, 2022, 3:15am UTC](https://forum.katalon.com/t/error-using-appendtocsv-with-katalon-recorder-v-5-5-3/57655/20 "2022-09-26T03:15:50Z")

</div>

I face the same problem, please help, i need to save thousand of value, please help

[Next page](https://forum.katalon.com/t/error-using-appendtocsv-with-katalon-recorder-v-5-5-3/57655.md?page=2)
