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

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

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

This is due to a description error in "photoshop_v2025.jsx”.
However, this is a bit strange since no error message was displayed until In the past.

 

Left is "photoshop_v2025.jsx”, right is "photoshop_v2024.jsx”

Screenshot 2025-03-28 at 09.04.07.pngexpand image

There is no description that corresponds to

e.line);

}

of 2025.

 

--
Susumu Iwasaki
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

My 2025 shows

{
// Debugging
// alert (e + ": line " + e.line);
}

It looks like the Photoshop beta created this problem (I did not install that beta) and maybe the Photoshop  26.5.0 update today helped.

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

this happen to me 

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 29, 2025 Mar 29, 2025
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 31, 2025 Mar 31, 2025

This folder ("/Library/application support/Adobe/Startup Scripts CC/Adobe Photoshop/") doesn't exist inside my library. 
Many people saying that tried to reinstall photoshop but without any success. 

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

Fixed reinstalling photoshop beta.

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 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
"/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-...) 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

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 ,
Apr 01, 2025 Apr 01, 2025

this would have been easy if Adobe Team patch this VIA UPDATE. Can you guys do this?

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 ,
Apr 01, 2025 Apr 01, 2025

Oh nevermind. The Answer for me that FIXED MINE is just I REMOVED the Photoshop Beta including the preferrences.

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 ,
Apr 03, 2025 Apr 03, 2025

Thanks, I solved the problem by uninstalling and reinstalling Photoshop and Illustrator.

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

Screenshot 2025-03-28 alle 08.49.20.pngexpand imageScreenshot 2025-03-28 alle 08.49.07.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

Can you check here if that answer helps? Uninstalling the Photoshop beta seems to help:

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

Thanks @Ton Frederiks
the workaround 1 deleted the errors. Your solution doesn't seem... it is! 8). Thank you 🙏

Solution 

  • Workaround 1:
    • Uninstall Photoshop 26.5 (make sure to remove preferences).
    • Reinstall Photoshop 26.5. This will install the correct “photoshop_v2025.jsx”.
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 29, 2025 Mar 29, 2025

me pasa este error al inicial illustrator la ultima version,  Captura de pantalla 2025-03-29 175556.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 29, 2025 Mar 29, 2025

Hi @Oscar5C13 this seems to be a problem introduced by the latest Photoshop Beta. Uninstalling it should fix. If not, search this forum for similar posts.

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

As mentioned by @m1b this is known problem. See the post by Adobe about the solution to this problem at the link below

https://community.adobe.com/t5/indesign-discussions/p-error-message-script-line-2798-with-indesign-a...

-Manan

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 ,
Apr 01, 2025 Apr 01, 2025

Screenshot 2025-04-01 at 10.33.22.pngexpand image

 

Illustrator works fine, but is so annoying...

I appreciate any help.

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 ,
Apr 01, 2025 Apr 01, 2025

Do you have the Photoshop Beta installed, or just the general release?

It seems to be an error in a Photoshop script for Adobe Bridge integration that multiple apps need to read.

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 ,
Apr 01, 2025 Apr 01, 2025
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 ,
Apr 01, 2025 Apr 01, 2025

Hi, I have the latest Illustrator and Photoshop and quite recently about 2 days now, this errors keeps popping up whenever I open both application. I always open both of these apps all the time but this error never happened before.

How do we fix this? 

JosephComm_0-1743515036583.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 Beginner ,
Apr 01, 2025 Apr 01, 2025

Follow up info.
Windows 11 Pro Version 10.0.26100 Build 26100
My Laptop is i7 12Gen /  RTX 3060 GPU / 16GB RAM 
Both Ai and PS are the latest update.

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 ,
Apr 01, 2025 Apr 01, 2025

Do you have the Photoshop Beta installed, or just the general release?

It seems to be an error in a Photoshop script for Adobe Bridge integration that multiple apps need to read.

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 ,
Apr 04, 2025 Apr 04, 2025

Actually solved it by REMOVING the PS Beta - since I have it installed. This was the root cause of the error. It works fine with me when I removed it. 

This things should be PATCH through update.

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 ,
Apr 01, 2025 Apr 01, 2025

Oh ok.. I just started recieving this error - out of the blue.  It may also be affecting illustrators ability to create 3D images/resolves. Hope they have a solution.

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