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

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

New Here ,
Mar 25, 2025 Mar 25, 2025

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

 

<Title renamed by moderator>

TOPICS
Performance
2.3K
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 Pinned Reply

Adobe Employee , Mar 31, 2025 Mar 31, 2025

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
"/Libra

...
Translate
Adobe
Community Expert ,
Mar 25, 2025 Mar 25, 2025

@brittanyf28238571 are you running a script when the error occurs? Or does it appear when you launch Illustrator or Indesign? Can you then use the app normally?

 

My expertise is scripting, so if it is a script that is missing a brace and can show you where it needs to go, but I'd need to see the script, of course.

- Mark

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 Beginner ,
Mar 25, 2025 Mar 25, 2025

I'm also having this issue when I launch Illustrator. 

Screenshot 2025-03-25 124306.pngexpand image

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 ,
Mar 25, 2025 Mar 25, 2025

thanks for replying!

 

No I'm not running any scripts and never have. It appears when I launch indesign and illustrator. I can continue to open up files but it is SO glitchy that it's unusable (e.g. no drop down menu opens - like fonts or font size, zooming in or out / panning is extremely delayed) 

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 ,
Mar 25, 2025 Mar 25, 2025

Okay this appears to be a bug for multiple people now. It's out of my area of expertise so all I can do is suggest the basics: uninstall and then re-install Illustrator in the hope that it is fixed. If not, then run the Creative Cloud Cleanup Tool. See Instructions.

 

Good luck and let us know if something works.

- Mark

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 ,
Mar 25, 2025 Mar 25, 2025

Users in the Indesign forum have reported the same problem with Indesign. It might be a buggy script installed as part of the latest Photoshop Beta. Do any of you guys have the Photoshop Beta installed? Or recently downloaded Photoshop?

- Mark

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 Beginner ,
Mar 25, 2025 Mar 25, 2025

I have Photoshop Beta installed and I believe it received an update just a couple of days ago.

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 ,
Mar 25, 2025 Mar 25, 2025

Hey @Jami Murphy any chance you could post that photoshop_2025.jsx file? The path is in the error dialog above. You can change it to .txt to bypass the forum's restrictions on file types if necessary.

- Mark

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 ,
Mar 25, 2025 Mar 25, 2025

Hello @m1b ,

I need some help with a script. Could you please assist me?

Is there any scripting possibility to adjust this dialog box in Photoshop?

 

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 ,
Mar 25, 2025 Mar 25, 2025

@punit_9859 for questions about Photoshop scripting please ask on the Photoshop forum.

 

By the way, did you solve the "msising Brace" problem you reported here?

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 ,
Mar 25, 2025 Mar 25, 2025

Yes, the problem was solved. I reinstalled Illustrator, and the issue has not occurred since.

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 Beginner ,
Mar 28, 2025 Mar 28, 2025

I was hoping someone could help me with this error code I receive when trying to open Adobe Illustrator 2025 (29.4) on my 24 inch Imac 2023 M3 running Sequoia 15.3.2. Illustrator opens fine and seems to operate OK. I just keep getting the same error code as seen in the screen capture every time I launch the app.

Screenshot 2025-03-28 at 10.31.25 AM.pngexpand image

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 ,
Mar 28, 2025 Mar 28, 2025

Try if uninstalling Photoshop Beta works.

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 Beginner ,
Mar 28, 2025 Mar 28, 2025

I uninstalled Photoshop 2025 and it has seemed to clear up the problem.

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 ,
Mar 26, 2025 Mar 26, 2025

I had this issue starting Illustrator and InDesign, running on Windows 11 Home. I also had Photoshop Beta installed. All updates installed. The folder 'Adobe Photoshop' did not exist in 'Startup Scripts CC'.

 

I uninstalled and reinstalled Illustrator and InDesign but the issue persisted. I uninstalled and reinstalled Photoshop Beta and the issue was resolved. The folder 'Adobe Photoshop' now exists in 'Startup Scripts CC'.

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
Explorer ,
Mar 27, 2025 Mar 27, 2025

I had the same issue. I uninstalled and reinstalled Photoshop Beta, and the scripts in Bridge started working again 👍 Just wanted to share that.

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 ,
Mar 28, 2025 Mar 28, 2025

Thank you very much, in this way it was solved (at least in my case). Win11 + Photoshop beta.
Illustrator starts correctly.

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 Beginner ,
Mar 27, 2025 Mar 27, 2025

Buenas tardes, a alguien le ha aparecido esto y pudo solucionarlo?

Se agradece si comparten.

 

Captura de pantalla 2025-03-27 a la(s) 13.49.22.pngexpand image

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 ,
Mar 27, 2025 Mar 27, 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 using the community bugs">
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 ,
Mar 27, 2025 Mar 27, 2025

That's an issue with a startup script in  the latest Photoshop. Some typo in the script. I have seen the fix mentioned all over the place last week, but cannot find it now. 

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 ,
Mar 27, 2025 Mar 27, 2025

This answer seems to help; uninstall and reinstall the Photoshop beta:

https://community.adobe.com/t5/indesign-discussions/error-in-scripts-opening-indesign-after-photosho...

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
Explorer ,
Mar 27, 2025 Mar 27, 2025

Hey folks! Updated my Photoshop to the last version this morning, now i'm getting this illustrator error. 
It started after updating.

Error in /Library/Application Support/Adobe/Startup Scripts CC/Adobe Photoshop/photoshop_v2025.jsx ///  Line 2798: {

No matching closing brace found"

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
Adobe Employee ,
Mar 27, 2025 Mar 27, 2025

Hello @Gabriel5E9E,

Would you mind copying the Startup Scripts CC folder to the desktop and then deleting it from the folder listed in the error message to see if it helps?

Looking forward to hearing from you.
Anubhav

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
Explorer ,
Mar 27, 2025 Mar 27, 2025

I've just checked, and couldn't find the folder named "Startup Scripts" inside Application support / adobe. 
It looks like a bug. Used illustrator normally today even with this error. The error show a few more times (like 5 or 8) and the illustrator works just fine. 
My photoshop is already in the latest version. This error started since i've updated photoshop.

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 ,
Mar 27, 2025 Mar 27, 2025

Try also updating to Photoshop 26.5.0

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