Error pasting from Illustrator 2026

Lightburn seems to be having an issue pasting from Illustrator 2026. The error below occurs when pasting from version 30, Illustrator 2026:

Error parsing SVG - LightBurn Pro 2.0.04
An error occurred while reading:
Extra content at end of document. - on line 1, column 366

From what little I understand of this type of language/code, to understand the error in that line you would have to open the file in a reader where you could see what’s there. It could be something simple or not…
:thinking:

The issue isn’t with a specific file—it’s that anything copied from Illustrator 2026 and pasted into Lightburn triggers the error.

Update: If I enable the “Include SVG Code” option under IIllustrator > Preferences > Clipboard Handling (Windows), then copy the SVG content into a text editor first and paste it from there into Lightburn, it works correctly. This confirms there’s a compatibility issue between Illustrator 2026 and Lightburn when pasting directly—regardless of whether the option is enabled or not, the error still occurs.

Now I agree with you.
Since I don’t work with illustrator I can’t help you any further…

@Rick I’ve tested this on two separate PCs, as well as on the pre-release RC1 of version 2.0.05, and can confirm the issue occurs across all versions of LightBurn. There is definitely a compatibility issue between LightBurn and Illustrator 2026 when pasting content.

same experience. with illustrator 2026 doesn.t work copy and paste :frowning: hope someone will fix this issue, it’s kinda vital for workflow

Thanks for reporting, we’re looking into it

Could you give us a copy of the data you’re pasting into LightBurn so we can replicate?

Can you paste into NotePad or similar, and provide the output here?

There should not be 366 characters of text in the first line of an SVG file.

This error occurs when pasting directly from Illustrator 2026 into Lightburn.

And this SVG code works when pasted into a text editor, then copied and pasted into Lightburn.

1 Like

Unfortunately “pasted into a text editor” first doesn’t guarantee that the content is the same.

What that tells me is that they’ve likely screwed up the “SVG” version that’s on the clipboard, but not altered the text version.

The system clipboard can have content in multiple formats. In LightBurn, we check to see if there’s “image/svg+xml” data on the clipboard, and if there is, we pass that data block directly to the SVG import code. If it worked before, and then updating to AI 2026 means it’s not working now, it’s likely something they’ve broken, which they seem to enjoy doing a regular basis for some odd reason.

I’m working on a change that let you enable debug logging and then drag or paste into LightBurn, and it will record the content to a file so I can look at it.

2 Likes

I’ve sent you a private message here with a version link that has some extra debug info and instructions that should help me figure out what’s happening.

I am now facing a similar message. The details are the same except the numbers.

We have a fix for this coming in the upcoming 2.1 release, and if there’s a patch release before then it’ll be included there too. We can’t control what Illustrator does on their end, but have updated our code to handle it.

2 Likes

Thanks so much for your support. I understand Adobe doing things.

Hi, i do work with Illustrator and this happened to me when I updated the Lightburn. I confirm the solution given by @morasool is valid and once you turn on the feature it is permanent and the copy/paste issue is resolved.

1 Like

I made I video (spanish) but it shows how to change it
https://www.tiktok.com/@mfcreacionescr/video/7543442491811335430?lang=en