Skip to main content
Participant
March 25, 2025
Answered

Error in Startup Script - Line 2798 (No matching closing brace found)

  • March 25, 2025
  • 29 replies
  • 26157 views

I'm having this issue on indesign and illustrator except is says "line 2798: { No matching closing brace found"

 

<Title renamed by moderator>

Correct answer Anubhav M

Hello everyone,

We have seen multiple reports of a script error related to Photoshop and the following workarounds have fixed it for many users. 
1) Uninstall (remove preferences) and Reinstall Photoshop

Disclaimer: Please note that renaming preferences folders will remove all the custom settings, and Illustrator will launch with default settings. You can also save a backup of the folders, the location of which is mentioned here.


2) Open the JSX file in a text editor, which is available at
"/Library/Application Support/Adobe/Startup Scripts CC/Adobe Photoshop/" for macOS
 "C:\Program Files (x86)\Common Files\Adobe" and "C:\Program Files\Common Files\Adobe" for Windows


Add } in the last line, save the JSX file, and relaunch Illustrator.

Also, could you please upvote this UserVoice (https://illustrator.uservoice.com/forums/601447-illustrator-desktop-bugs/suggestions/49667915-error-in-startup-script-line-2798-no-matching) and add your comments there. Doing this will help us prioritize this request, and you will be notified of any updates.


Please let us know if you are still having trouble with this, and we will do our best to help you.

Anubhav

29 replies

Participant
April 21, 2025

Aparece el siguiente mensaje

Peru Bob
Community Expert
Community Expert
April 22, 2025

Moved from the CC Desktop forum to the Illustrator forum.

Participating Frequently
April 20, 2025

¡Buenos días a todos!

 

Mi Adobe Illustrator 2025 presenta un error de inicio, y esque cuando intento abrirlo, no avanza de esta parte, lo desinstalé y volví a instalar y el problema sigue.

 

Cuando ya lo he cerrado y vuelto a abrir varias veces, puedo entrar. ¿Alguien sabe cómo resolverlo?

 

 

kglad
Community Expert
Community Expert
April 20, 2025

in the future, to find the best place to post your message, use the list here, https://community.adobe.com/

p.s. i don't think the adobe website, and forums in particular, are easy to navigate, so don't spend a lot of time searching that forum list. do your best and we'll move the post (like this one has already been moved) if it helps you get responses.



<"moved from cc desktop bugs">
Participant
April 10, 2025

Every time that i open illustrator this happend

Participant
April 9, 2025

Hello All,

 

I had the same issue. Updating all versions of Photoshop and InDesign fixed the issue for me.

 

 

Participant
April 9, 2025

same problem....

Participant
April 7, 2025

How to fix script error when I opening Illustrator

 

jane-e
Community Expert
Community Expert
April 7, 2025

@Roceylon 

 

i've moved your post from Creative Cloud desktop to the Adobe Illustrator forum.

 

Jane

SinisterVisions
Participant
April 5, 2025

Uninstalling Photoshop Beta cleared up this and other sudden weird issues with Adobe products. For me, FWIW.

Participant
April 4, 2025

Please see the attached screenshot with the error I received ever since I did the latest Adobe updates.

Anubhav M
Community Manager
Community Manager
April 4, 2025

Hello @defaultpezzle2co041,

Our team is aware of this problem and is currently investigating it. In the meantime, could you try the suggestions shared here (https://adobe.ly/3R0fVyj) and let us know if it helps?

Looking forward to hearing from you.
Anubhav

Participating Frequently
April 3, 2025

I got the same error but in illustrator, what I was recommended was to uninstall photoshop and illustrator and reinstall them again, I did it and it worked.

Participating Frequently
April 3, 2025