Skip to main content
Participant
June 11, 2015
Answered

Data Sets in Photoshop Error

  • June 11, 2015
  • 2 replies
  • 4425 views

how to i fix this? Could not parse the file contents as a data set. There were too many variable names in the first line of the text file.

This topic has been closed for replies.
Correct answer Bojan Živković11378569

Bojan Živković‌ You're the master of data sets. Do you know if what the OP wants to do can be done?


No, Smart Object Layers cannot be used for replacement.

2 replies

Inspiring
December 4, 2017

For readers not using smart objects, who see the error: "Could not parse the file contents as a data set. There were too many variable names in the first line of the text file."...

It is likely you're mentioning a variable in the text file (hence your spreadsheet if you're using one) that is not also listed in Photoshop > Image > Variables > Define, and as a Layer.

The error is misleading, since there are not 'too many' variables in the first row of the text file (or spreadsheet columns) per se. You can have lots of variables listed there.

What it really means is that there are more variables listed in the text file relative to those present in the Photoshop file. The relevant variable must be added to Photoshop or deleted from the spreadsheet and text file to synchronise them.

c.pfaffenbichler
Community Expert
Community Expert
June 11, 2015

Please explain what exactly you are doing, what the settings and the contents are, …

Participant
June 13, 2015

i found out the problem. My ID column was not named the same.I do have another question though. IS there a way to

 replace smart objects using data sets? just like a pixel replacement?

 Thank you,

Brian Boot

707.342.2310

www.brianbootdesigns.com

From: c.pfaffenbichler <forums_noreply@adobe.com>

To: Brian Boot <brianbootdesigns@yahoo.com>

Sent: Thursday, June 11, 2015 12:00 AM

Subject: Data Sets in Photoshop Error

Data Sets in Photoshop Error

created by c.pfaffenbichler in Photoshop Scripting - View the full discussionPlease explain what exactly you are doing, what the settings and the contents are, … If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7629546#7629546 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7629546#7629546 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following" Start a new discussion in Photoshop Scripting by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

Chuck Uebele
Community Expert
Community Expert
June 14, 2015

Bojan Živković‌ You're the master of data sets. Do you know if what the OP wants to do can be done?