Error code

macOS -10004

MACOS-10004
System Error Code· A POSIX/system errno returned when a system call fails.

What it means

Application not found (Launch Services) — no registered handler exists for the bundle identifier or URL scheme..

How to fix it

  1. Reinstall the missing application.
  2. use System Settings > Default Apps to reassign the URL scheme.
  3. run the Launch Services rebuild command to refresh the registry.

Not affiliated with macOS. Answer summarized from the manufacturer's manual linked above; consult that source for the authoritative procedure.