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

Unable to import CSV file into photoshop

New Here ,
Sep 21, 2025 Sep 21, 2025

Looking for some help and sorry about the long post.

I am trying to do a variable data merge in photoshop to import the photos (individual & team) plus names into a template.

I have had no issues doing this in the past, but now I keep getting an error:

Could not parse the file contents as a data set. The name 'a' is not a variable in the current document.

I had different column names when I started, but have dumbed it down to a, b, c for both my csv file and psd file. No spaces, everything matches, etc.

No matter what I do, I keep getting the error.

I have shut down and restarted the program, my entire computer, uninstalled and reinstalled photoshop and I still get nowhere.

I have tried different templates, used ChatGPT and went through all of what it said to try. After 4 hours of trying everything under the sun...I'm about to give up and manually do Memory Mates and Buttons for 300 orders.

Does anyone have any ideas?

TOPICS
Actions and scripting
100
Translate
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 1 Correct answer

Community Expert , Sep 21, 2025 Sep 21, 2025
Translate
Adobe
Community Expert ,
Sep 21, 2025 Sep 21, 2025

Ouch. That's not fun at all.

You obviously have experience with variable data, and it looks like you've tried all the usual suspects. In your situation I would try recreating the CSV from scratch, in case there's an invisible character in there that's messing up the parsing. If you're using a text editor you haven't used before, make sure the character set it saves is UTF-8.


Is this the only merge you're having trouble with, and others work fine?

Translate
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 ,
Sep 21, 2025 Sep 21, 2025

Thanks for the suggestion.  I've done that as well.  Just did it again just in case but it still does not work.
I've created a completely new csv file, created a brand new template and I still get the same error.

I'm so lost.

Translate
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 ,
Sep 21, 2025 Sep 21, 2025

And I'm using Excel to create my csv file if that helps.

 

Translate
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 ,
Sep 21, 2025 Sep 21, 2025
Translate
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 ,
Sep 21, 2025 Sep 21, 2025

Thanks for the links.

Since it wasn't working, I took the leap to learn to write a script.  Actually, ChatGpt did the work and I tested and tweaked.

It is working great so far and I think I will use this method going forward.

Translate
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 ,
Sep 21, 2025 Sep 21, 2025

@Searays2 

 

Is the script leveraging native variables as in my first link?

 

Or does the script totally bypass using variables/datasets as the second link?

Translate
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 ,
Sep 22, 2025 Sep 22, 2025
LATEST

We're all into Copilot, ChatGPT, Claude for fast custom scripts. There is a plug-in called MATE that is in beta right now (I don't have a link handy) for Photoshop. It is already up and running in InDesign and Illustrator with fantastic success.

Translate
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