Skip to main content
Participant
Mar 25, 2025 7:58 AM UTC
Answered

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

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

 

<Title renamed by moderator>

Anubhav M
Anubhav MCorrect answer
Community Manager
Mar 31, 2025 3:18 PM UTC

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

91 replies

Participant
Apr 21, 2025 11:21 PM UTC

Aparece el siguiente mensaje

Translate
Peru Bob
Community Expert
Community Expert
Apr 22, 2025 12:01 AM UTC

Moved from the CC Desktop forum to the Illustrator forum.

Translate
Participating Frequently
Apr 20, 2025 4:03 PM UTC

¡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?

 

 

Translate
kglad
Community Expert
Community Expert
Apr 20, 2025 4:10 PM UTC

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">
Translate
Participant
Apr 10, 2025 1:01 PM UTC

Every time that i open illustrator this happend

Translate
Participant
Apr 9, 2025 1:13 PM UTC

Hello All,

 

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

 

 

Translate
Participant
Apr 9, 2025 11:18 AM UTC

same problem....

Translate
Participant
Apr 7, 2025 7:04 AM UTC

How to fix script error when I opening Illustrator

 

Translate
jane-e
Community Expert
Community Expert
Apr 7, 2025 11:50 AM UTC

@Roceylon 

 

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

 

Jane

Translate
SinisterVisions
Participant
Apr 5, 2025 2:08 AM UTC

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

Translate
Participant
Apr 4, 2025 3:31 PM UTC

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

Translate
Anubhav M
Community Manager
Community Manager
Apr 4, 2025 3:43 PM UTC

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

Translate
Alex Carcedo
Participating Frequently
Apr 3, 2025 3:42 PM UTC

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.

Translate
Participating Frequently
Apr 3, 2025 9:45 AM UTC

Translate