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

P: Error message (Script line 2798) with InDesign & Illustrator after update

New Here ,
Mar 25, 2025 Mar 25, 2025

default11h12xm5yo8m_0-1742949495049.pngexpand image

I just installed updates for Photoshop and Photoshop beta and received this error on opening Indesign. Any ideas? [I am on a Mac Mini M4] - there is no error opening Photoshop or Photoshop Beta.

 

 

<Title renamed by MOD>

TOPICS
Bug , Scripting
13.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 2 Correct answers

Adobe Employee , Mar 28, 2025 Mar 28, 2025

Hi,

As confirmed by the user, the issue is due to the latest Photoshop update, and the workaround below will resolve the issue.

  • Workaround 1:
    • Uninstall Photoshop 26.5 (make sure to remove preferences).
    • Reinstall Photoshop 26.5. This will install the correct “photoshop_v2025.jsx”.
  • Workaround 2:
    • Open jsx, which is available at "/Library/application support/Adobe/Startup Scripts CC/Adobe Photoshop/" mentioned in the alert in the Text Editor 
    • Add } in the last line

Reference UserVoice Thread

...
Translate
New Here , Apr 03, 2025 Apr 03, 2025

So the problem is not that a closing curly bracket is missing, but rather that an opening curly bracket was left behind with a few comments a the end of the code. I just removed it and the error went away.

Translate
Explorer ,
Apr 02, 2025 Apr 02, 2025

Thank you Sanyam Talwar I tried Workaround 2 and it fixed the problem for me! thank you again!

 

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

After the latest updates to my Adobe apps (Indesign, Photoshop and Photoshop Beta) my Indesign is not working anymore. It constantly crashes.

 

After the Photoshop updates I got the error, which has already been posted here:

Bildschirmfoto 2025-03-28 um 11.06.18.pngexpand image

I deinstalled Indesign, Photoshop, Photoshop beta, installed Indesign again, tries different versions of Indesign but … nothing is working. I even did the harddisk repair of my Mac several times and rebooted the system several times after uninstalling, etc...

 

With the Cleaning tool and the logger I completely removed the whole Adobe Creative Cloud from my Mac (M1 Pro on 14.7.4) – I deleted all of the remaining entries in the Library connected to Adobe and made a fresh install of Adobe Creative Cloud + Indesign + Photoshop (no beta) + Illustrator + Bridge.

 

I do not get the error message anymore, Indesign starts. I can sometimes open a document and it stays open, but when I use magnifier or crtl+- to zoom, it crashes. After that it will directly crash when I open it again. After this I can open it, select that I do not want to recover the file I was working on and can continue for some time until I use a shortcut or the glass … at least this is what I can see at the moment, which constantly lets Indesign crash.

 

I have not imported any old settings – I saved a new workspace in Indesign, thats it …

 

How can the problem be solved?

Thanks.

 

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

Sorry – not Indesign 20.1 => I mean 20.2 … I cannot change the post topic unfortunately.

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

Are you using any third-party utilities, such as Magnet, Typeface, etc.?

Do a safe boot and see if things works.

I don't believe the Adobe CC Cleaner cleans all the caches, check out this page for more info:

https://www.ideastraining.com/TutorialsAndTips/TroubeshootInDesign.html

 

David Creamer: Community Expert (ACI and ACE 1995-2023)
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

no and I did not change anything on the system – yesterday I was able to work with Indesign 20.2 – then did the updates for both Photoshop beta and Photoshop … no more Indesign working today … startet with the "brace" error … now the system seems to be "inside" Indesign … it opens every second time like written above 😕 But when making some shortcuts or clicks … it crashes.

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

did a safe boot and the problem stays. tried it on several 20.X versions now – even with Photoshop completely uninstalled.

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 a new user on the computer. If that works, it's something in the caches or preferences in the Library folders. You can try running the CC Cleaner to remove ALL and then check your Library folders (root, system, and user) to delete everything in the Adobe folders.

 

David Creamer: Community Expert (ACI and ACE 1995-2023)
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 did cleaner and everything with deleting all the Adobe files … now I made another test … maybe the file I was working on got corrupted when the first "brace" error occured. Testing with different and other Indesign documents at the moment … do not want to celebrate, but maybe that is the key.

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
quote

I did cleaner and everything with deleting all the Adobe files … now I made another test … maybe the file I was working on got corrupted when the first "brace" error occured. Testing with different and other Indesign documents at the moment … do not want to celebrate, but maybe that is the key.


By fouraces

 

There are two ways to fix corrupted document: 

1) IDMLing - export as IDML, open, save with a new name - do not overwrite your original file, 

2) create a new, blank document - then move all your pages to this new document. 

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

Hi there,

I’m facing the same issue after installing the latest Photoshop update (26.5). When I open InDesign, I get a script error related to the photoshop_v2025.jsx file. I’ve tried editing the file as suggested, but it’s not resolving the issue.

Would anyone be able to share the correct version of the photoshop_v2025.jsx script that works after the latest Photoshop update? It seems like the script might be missing or corrupted after the update.

Thanks in advance for your 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 ,
Mar 30, 2025 Mar 30, 2025

You can reinstall the PS version and that should solve the problem

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

Thanks this worked perfectly.

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

Keep getting this on launch of InDesign

Screenshot 2025-03-29 091624.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
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

Remove the Photoshop beta software from your computer and it should begin to function again. Afterwards, according to other users, if you reinstall the Photoshop beta software, the problem may also go away.

Mike Witherell
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

Only today I see this error message when launching InDesign 20.2 for MacOS (Apple Silicon):

Screenshot 2025-03-29 at 10.13.13 pm.pngexpand image

Never seen it before. Perhaps related: Many menus in panels (e.g. Font in Control panel or Character panel or Stroke Type in Conrol panel or Stroke panel) won't stay open. The menu appears then disappears, making it impossilbe to select anything in the menu.

 

I rebooted and deleted then re-installed InDesign, but it doesn't fix it. Anyone else seen this problem? Is there a fix?

 

Mac: M1 MacBook Air

OS: 15.3.2

InDesign: 20.2

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

Ah yes - someone else reported this recently too ! 

 

Seems like a few posts got merged into one here -

https://community.adobe.com/t5/indesign-discussions/error-in-scripts-opening-indesign-after-photosho...
Found a huge thread 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 28, 2025 Mar 28, 2025

I keep getting this message when I open Illustrator. I updated it to 29.4 and I keep getting this message

Error in /Library/Application Support/Adobe/Startup Scripts CC/Adobe Photoshop/photoshop_v2025.jsx  Line 27

I can only follow the path as far as /Library/Application Support/Adobe 

I cannot seem to find a Startup Scripts folder

 

Please help

 

 

Screenshot 2025-03-29 at 1.18.32 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
New Here ,
Mar 28, 2025 Mar 28, 2025

Nevermind, I tracked it down and deleted that file..

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

Getting the following message every time I start In-Design

 

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

@Pankaj26258324en2z

 

Have you read other replies - before posting? 

 

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

Adobe is a joke

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

Attempted to open an InDesign file originally created 12 months ago. The placed images will not appear on the screen. Moreover, when I updated InDesign I get an error that a startup script in Photoshop seems to be the culprit. Have restarted InDesign and also tried to update links but no diifference. Anyone any ideas?

See attached window.

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

Did you try the solutions in the correct answer above?

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

Thanks have reinstalled both InDesign and Photoshop and this seems to have done the trick! Now back to work after three hours of unproductive time wasting... Computers eh?

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