• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

Error - "Incoming Variable Library Is Invalid" while uploading a CSV data source file in Illustrator

Community Beginner ,
Jun 23, 2020 Jun 23, 2020

Copy link to clipboard

Copied

Hey all!

I'm trying to make a bunch of business cards using a template en masse with a Excel document.

This contains Inuktitut characters that I would like to remain in the finished product. I've tried it with and without the Inuktitut, all the cells are filled and I've done a search for all empty cells to be sure. Each time, the result is the same: invalid library. What could be going wrong?

 

Here is what happened when I tried to investigate possible problems listed here: https://helpx.adobe.com/in/illustrator/using/data-driven-graphics-templates-variables.html#Facingiss...

 

Your CSV file is not blank.
I've checked.

The spreadsheets that you've created using the latest version of Microsoft Excel are saved as CSV (Comma delimited) (*.csv) or CSV (MS-DOS) (*.csv) and those created using Apple Numbers are saved as CSV format with Unicode (UTF-8) encoding. Data source files saved in any other file format such as Macintosh Comma Separated (*.csv) are not supported for data merge.
Done. Both with comma delimited and MS-DOS.

All columns have a data field name. For example, Illustrator displays the error message when a column in your data source file contains data but doesn't have a data field name.
Done. All columns have a data field name.

The data source file doesn't have a blank column in between any filled columns. For example, Illustrator displays the error message when column B and D in your data source file contain data but column C is empty.
There are no blank columns. I've used find and replace to verify.

A. Data field name is missing for a column B. There's a blank column between filled columns
There are no blank field names.

The data field names in your spreadsheet don't contain any blank spaces.
There are no blank spaces.

The paths referring to image and graph files in your source file don't contain any blank spaces.
There are no blank spaces, image files or graphs.

The graph files linked from your data source file are saved as comma-delimited (.csv) files.
There is no graph.

 

 

{Renamed by MOD}

TOPICS
Import and export

Views

39.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 3 Correct answers

New Here , Aug 11, 2021 Aug 11, 2021

For me what solved was changing the first line from:

Natanael5FA6_0-1628679429411.png

to:

Natanael5FA6_1-1628679471215.png

The simple space was keeling the file, haha.

Votes

Translate

Translate
New Here , Dec 07, 2021 Dec 07, 2021

The data field names cannot start with a number

 

This was my issue.

So annoying, the help doesn't say this anywhere.

Votes

Translate

Translate
New Here , Aug 08, 2023 Aug 08, 2023

I still had issues after trying these solutions. I was Downloading as CSV from Google Sheets and everything appeared right. But I finally cleaned and trimmed each cell and got rid of some hidden characters or spaces. My data set was quite large and I did not find these by visual examination at first. I put my data on one sheet and then used the =CLEAN(TRIM(data_range_here)) function to get it working.

Votes

Translate

Translate
Adobe
New Here ,
Jan 20, 2022 Jan 20, 2022

Copy link to clipboard

Copied

It is worth to note that this is a valid solution only when we don't have any longer strings of text with commas inside. Cause commas can't be inside values here. If we have them, the software will interpret separations incorrectly. For a solution with commas, the only possible way to do it is in XML, as far as I know!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 01, 2022 Feb 01, 2022

Copy link to clipboard

Copied

Old thread I know but I was having this issue and nothing here helped. 

I figured out what it was for me. 

I was copying text with line breaks into the cells but becuase the cells were clipped/wrapped i didn't notice. 

Make sure all text in each cell is on one line.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 02, 2023 Apr 02, 2023

Copy link to clipboard

Copied

Esto se puede resolver seleccionando todo, luego en Inicio > Edición > Borrar > Borrar formatos

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 31, 2022 Jul 31, 2022

Copy link to clipboard

Copied

Today, I found another problem or may be a key for the error, I found a limit for the number of rows in csv file, which make data sets is limited to 230 set, when I add more rows, illustrator refuse the file and say "invalid.."
for columns, I have reached 103 and still work.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 12, 2023 Jul 12, 2023

Copy link to clipboard

Copied

i am not sure whos fault it is for my case , Either EXCEL or ADOBE because i was working on a doc with Turkish characters and when i export then as csv when i opened the file just only in excel again all turkish charaters lost value and had changed so now when i was trying to import them into illstrator it was giving me the error . so maybe illstrator needs to update to be able to decord it or Excel needs to be able to export them and maintain value , Screenshot 2023-07-12 164941.pngScreenshot 2023-07-12 165035.pngScreenshot 2023-07-12 165144.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 12, 2023 Jul 12, 2023

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 24, 2023 Oct 24, 2023

Copy link to clipboard

Copied

Thank you Monika, this worked. I'd tried everything else for a simple 3 column csv file. Your script was the only thing that worked!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 07, 2023 Dec 07, 2023

Copy link to clipboard

Copied

Hi Monika, Can you help me? how to use your script? I experienced the same problem

mochammadh70811817_0-1702020032118.png

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 08, 2023 Dec 08, 2023

Copy link to clipboard

Copied

What kind of file are you using as a data source?

 

Did you read the documentation (Illustrator as well as Variable Importer)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 08, 2023 Aug 08, 2023

Copy link to clipboard

Copied

I still had issues after trying these solutions. I was Downloading as CSV from Google Sheets and everything appeared right. But I finally cleaned and trimmed each cell and got rid of some hidden characters or spaces. My data set was quite large and I did not find these by visual examination at first. I put my data on one sheet and then used the =CLEAN(TRIM(data_range_here)) function to get it working.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 11, 2024 Jan 11, 2024

Copy link to clipboard

Copied

*** MAKE SURE THERE'S No "Enter" in the information you want to put in the variable. If you press enter and make the information go to the next line it will not work. 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines