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

Generative Expand Not Working — Getting JavaScript Error 54

New Here ,
Jun 09, 2025 Jun 09, 2025

In the latest version of Photoshop, I can't use the canvas generative expand feature. When I try, I get a dialogue box with a message: Error 54: Uncaught JavaScript exception.... See attached image for full message.

 

Anyone else experiencing this? 

TOPICS
macOS
255
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
Adobe Employee ,
Jun 09, 2025 Jun 09, 2025

Hey @Greg38702627hj01

Thank you for bringing this to our attention and sharing a screenshot of the error you received. We need a bit more information before we can further troubleshoot. Can you share your system info? You can find this by going to Help > System Info. Copy and paste that into a text file and attach it to your response. Please also share the steps to reproduce this error. 

In the meantime, I'm going to move your post to discussions where we can get more help troubleshooting.


^CM

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 ,
Jun 10, 2025 Jun 10, 2025

Steps:

  1. Open file (jpeg/psd/...)
  2. Select Crop tool
  3. Drag edges of art board or layer
  4. Control click to reveal menu
  5. Select Generative Expand
  6. In the prompt box, normally I do not enter any info if I simply want to extend the background (I've tried prompts in the past with the same results as no prompts)
  7. Click Generate

 

When I do this, my layer or artboard disappear. Before I had updated to the latest OS, I got the error message. Since updating, I don't get the error message, but my artboard still disappears and instead of seeing normal variations in the Properties box for Generative Layers, I see random patterns and other odd things (see attached). 

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 ,
Jun 23, 2025 Jun 23, 2025
LATEST

Hi @Greg38702627hj01

 

Thanks for sharing all these details, and sorry for the delayed response. I’m hopeful the issue may already be resolved by now. If not, the error message you shared suggests that the functionality you're trying to use might not be available in the version of Photoshop you're currently using.

The system report you provided shows your macOS version, but it doesn’t include the Photoshop version. To assist you better, we’ll need to know which version of Photoshop you have installed.

Also, please note that we've released a new version (26.8) of Photoshop since you first reported this issue. If you haven’t updated yet, I recommend installing the latest version and checking if the problem still persists.

 

 

Let us know how it goes after the update—we’re here to help if the issue continues!

 

Regards,

Srishti

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 ,
Jun 09, 2025 Jun 09, 2025

@Greg38702627hj01 – Not a fix, however, as a temporary workaround, you could try my add bleed script, which is designed for simple rectangular canvas expansion:

https://community.adobe.com/t5/photoshop-ecosystem-ideas/ai-generating-bleed-area-beyond-trim-line/i...

 

StephenMarsh_0-1749515993310.png

 

 

 

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