Could not complete your request because of a program error

Fix Photoshop Content-Aware Fill Program Error Fast

That dreaded 'program error' when using Content-Aware Fill? It's usually a corrupted GPU cache or a bad preference file. Here's how to fix it in under 5 minutes.

You're in the middle of a tight deadline, you select a logo on a textured background, hit Content-Aware Fill, and Photoshop spits out 'Could not complete your request because of a program error.' It's a gut punch. I've fixed this for clients from solo designers to small agencies, and the cause is almost always one of three things. Here's what to do.

The Quick Fix (Do This First)

  1. Close Photoshop completely.
  2. Hold down Ctrl (Windows) or Cmd (Mac) and double-click the Photoshop icon to launch it.
  3. A dialog will pop up asking if you want to reset settings. Click Yes.
  4. Once Photoshop opens, try Content-Aware Fill again.

That resets your preferences to default. If the error disappears, you know a corrupted preference file was the culprit. But don't stop there—you'll want to restore your custom settings. More on that below.

If That Didn't Work: Purge the GPU Cache

Photoshop's GPU cache can get corrupted, especially if you're on a laptop with switchable graphics (looking at you, Dell XPS and MacBook Pro users). Here's how to clear it:

  1. Go to Edit > Preferences > Performance (Windows) or Photoshop > Preferences > Performance (Mac).
  2. Click Advanced Settings under Graphics Processor Settings.
  3. Uncheck Use OpenCL and Use Graphics Processor.
  4. Click OK, then restart Photoshop. Try Content-Aware Fill again.

If it works now, the GPU was the problem. You can try re-enabling the GPU, but if the error comes back, leave it off. Content-Aware Fill uses CPU anyway—the GPU acceleration is mostly for other features.

Still Broken? Reset the Scratch Disk

I had a client last month whose entire print queue died because of this. Their scratch disk was set to a nearly full external drive. Photoshop needs room to breathe. Go to Preferences > Scratch Disks and make sure your primary drive (with at least 20GB free) is checked. Uncheck any network drives or nearly full drives. Restart Photoshop.

Why This Works

That 'program error' is Photoshop's catch-all for 'I tried to allocate memory and failed.' Content-Aware Fill is memory-hungry—it analyzes surrounding pixels and generates new ones. If your preferences are corrupted, Photoshop might be pointing to a dead scratch disk or a bad GPU setting. Resetting preferences forces it to rebuild a clean configuration. Purging the GPU cache removes corrupted shader data. And fixing the scratch disk gives it the space it needs to do the heavy lifting.

Less Common Variations

If you've tried all three fixes and still get the error, check these:

  • Outdated GPU driver: Update to the latest from NVIDIA or AMD. On Mac, update macOS.
  • Corrupted Photoshop install: Run the Adobe Creative Cloud cleaner tool, then reinstall Photoshop.
  • Third-party plugins: Disable all plugins by moving them out of the Plug-ins folder, then test.
  • Font conflicts: A corrupt font can cause weird errors. Use a font manager to disable all but system fonts, then test.
  • Windows update conflict: Some Windows updates break Photoshop's GPU acceleration. Roll back the update or wait for Adobe to patch.

Prevention

Once you're back up and running, save your custom preferences. With Photoshop closed, navigate to your preferences folder:

Windows: C:\Users\[YourName]\AppData\Roaming\Adobe\Adobe Photoshop [Version]\Adobe Photoshop [Version] Settings
Mac: /Users/[YourName]/Library/Preferences/Adobe Photoshop [Version] Settings

Copy that folder to a backup drive. If the error comes back, you can restore your settings without losing your workspace. Also, keep at least 20% of your scratch disk free, and update your GPU driver every few months. Trust me—it saves hours of headache.

Related Errors in Software – Adobe Suite
Error 195 Adobe Suite install error 195: quick fix steps Could not save because of a program error Fix Photoshop Save As Program Error with Color Profiles Finding Illustrator auto-recovery files after crash without saving 41 Adobe Suite Error Code 41: License Activation Failure Fix

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.