# Import CSV Error

**URL:** <https://community.stardog.com/t/import-csv-error/3795>\
**Category:** Support\
**Created:** [June 7, 2022, 6:20am UTC](https://community.stardog.com/t/import-csv-error/3795 "2022-06-07T06:20:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![scottjosephson](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@scottjosephson](https://community.stardog.com/u/scottjosephson)\
**Post date:** [June 7, 2022, 6:20am UTC](https://community.stardog.com/t/import-csv-error/3795/1 "2022-06-07T06:20:44Z")

</div>

Hello,

When I try to import a CSV file using the Studio wizard, I am seeing the error: "**An error occurred while trying to read file design\_outcomes.csv (Error ParseError: Data not recognized as CSV data)**". Is there more detail to this message? The CSV file I am trying to import is absolutely CSV data. Verified this in text editor, Excel, and using the python pandas library.

Thanks.  
Scott

---

<div class="post-metadata">

**Author:** ![mike](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/mike/32/14_2.png) [@mike](https://community.stardog.com/u/mike)\
**Post date:** [June 7, 2022, 11:33am UTC](https://community.stardog.com/t/import-csv-error/3795/2 "2022-06-07T11:33:52Z")

</div>

Scott,

Did you try importing the file through Designer? As Laura mentioned on the other thread, that is the correct way to get CSV files into the Stardog Platform.

Cheers,

Mike

---

<div class="post-metadata">

**Author:** ![scottjosephson](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@scottjosephson](https://community.stardog.com/u/scottjosephson)\
**Post date:** [June 7, 2022, 3:44pm UTC](https://community.stardog.com/t/import-csv-error/3795/3 "2022-06-07T15:44:31Z")

</div>

tried this in Designer. I was able to add the csv file to the Project. However, I saw a warning message that Designer can only process files under 10MB. If that is true that will be an an issue for me since most of my csv files are larger than 10MB. Regardless, I created a mapping from the file to a class. When I go to publish to the server, I see the below error message. What original file is the error message referring to? I am mapping the fields from the csv file correctly.

 ![Error2](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/4/491d25cd608f90c7a7a63d26b568629b986ccb8e.png)

Thanks.

---

<div class="post-metadata">

**Author:** ![scottjosephson](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@scottjosephson](https://community.stardog.com/u/scottjosephson)\
**Post date:** [June 7, 2022, 3:57pm UTC](https://community.stardog.com/t/import-csv-error/3795/4 "2022-06-07T15:57:23Z")

</div>

One thing I should add is that I am able to import other CSV files using the wizard. I am unable to load two of them and seeing different error messages for each one.

---

<div class="post-metadata">

**Author:** ![Laura\_Firey](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/laura_firey/32/635_2.png) [@Laura\_Firey](https://community.stardog.com/u/Laura_Firey)\
**Post date:** [June 7, 2022, 3:58pm UTC](https://community.stardog.com/t/import-csv-error/3795/5 "2022-06-07T15:58:00Z")

</div>

Hi Scott,

Designer cannot store files over 10MB so files exceeding that size must be re-uploaded when publishing to Stardog.

When uploading the file to publish your model and mapping to Stardog you must select the same file that was used to create the mapping. The message shown in your image suggests that you uploaded a different file that did not have the same headers as the original file.

Thanks,  
Laura

---

<div class="post-metadata">

**Author:** ![scottjosephson](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@scottjosephson](https://community.stardog.com/u/scottjosephson)\
**Post date:** [June 7, 2022, 4:14pm UTC](https://community.stardog.com/t/import-csv-error/3795/6 "2022-06-07T16:14:20Z")

</div>

So how do I "re-upload" a file larger than 10MB?

What would the "original file" be?

Thanks.

---

<div class="post-metadata">

**Author:** ![Laura\_Firey](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/laura_firey/32/635_2.png) [@Laura\_Firey](https://community.stardog.com/u/Laura_Firey)\
**Post date:** [June 7, 2022, 5:02pm UTC](https://community.stardog.com/t/import-csv-error/3795/7 "2022-06-07T17:02:08Z")

</div>

The original file is the file you uploaded when creating a new project resource. The re-uploaded file needs to have the exact same headers to be valid. When selecting a file to re-upload, you likely want to select the same original file you used to create the project resource.

If you have multiple large files in a Designer project you are publishing, you'll also want to make sure the file you are re-uploading matches the selected resource in the Designer publish drawer (shown below, selection indicated by blue highlighting).

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/9/9b1ca5e3f7d08a9bd9d29017f328860b1ddea5e6.png)

---

<div class="post-metadata">

**Author:** ![scottjosephson](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@scottjosephson](https://community.stardog.com/u/scottjosephson)\
**Post date:** [June 7, 2022, 6:09pm UTC](https://community.stardog.com/t/import-csv-error/3795/8 "2022-06-07T18:09:01Z")

</div>

I have done this and the image from my last post still occurs. So I am starting to think there are bugs in the Studio import wizard and Designer tool. Would I be better off just using the pystardog library? I am a python programmer. My goal is to have all CSV data (which I am trying to import) translated to RDF and combined with my existing RDF ontology (which I have already loaded into my Stardog DB) in order to build a knowledge graph.

---

<div class="post-metadata">

**Author:** ![scottjosephson](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@scottjosephson](https://community.stardog.com/u/scottjosephson)\
**Post date:** [June 7, 2022, 6:12pm UTC](https://community.stardog.com/t/import-csv-error/3795/9 "2022-06-07T18:12:46Z")

</div>

This is of course providing there is a way from pystardog to do a CSV import?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [June 18, 2022, 8:58am UTC](https://community.stardog.com/t/import-csv-error/3795/10 "2022-06-18T08:58:59Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [June 29, 2022, 5:01am UTC](https://community.stardog.com/t/import-csv-error/3795/11 "2022-06-29T05:01:55Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [July 10, 2022, 9:21am UTC](https://community.stardog.com/t/import-csv-error/3795/12 "2022-07-10T09:21:27Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [July 21, 2022, 1:11pm UTC](https://community.stardog.com/t/import-csv-error/3795/13 "2022-07-21T13:11:30Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [August 3, 2022, 6:30pm UTC](https://community.stardog.com/t/import-csv-error/3795/14 "2022-08-03T18:30:52Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [August 17, 2022, 6:50am UTC](https://community.stardog.com/t/import-csv-error/3795/15 "2022-08-17T06:50:09Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [August 31, 2022, 4:02am UTC](https://community.stardog.com/t/import-csv-error/3795/16 "2022-08-31T04:02:32Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [September 14, 2022, 8:32am UTC](https://community.stardog.com/t/import-csv-error/3795/17 "2022-09-14T08:32:05Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [September 28, 2022, 1:01pm UTC](https://community.stardog.com/t/import-csv-error/3795/18 "2022-09-28T13:01:53Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [October 12, 2022, 5:23pm UTC](https://community.stardog.com/t/import-csv-error/3795/19 "2022-10-12T17:23:50Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [October 27, 2022, 7:35am UTC](https://community.stardog.com/t/import-csv-error/3795/20 "2022-10-27T07:35:56Z")

</div>



[Next page](https://community.stardog.com/t/import-csv-error/3795.md?page=2)
