Not authorized to send Apple events to x (-1743) macOS Origin: Platform & cloud OSI layer 7 · Application Last updated 5 Nov 2026

macOS: execution error: Not authorized to send Apple events to System Events. (-1743)

The app running the script isn't allowed to control another application via Automation permissions.

Exact message you may see Not authorized to send Apple events to System Events. (-1743)execution error: Not authorized to send Apple events to Finder. (-1743)errAEEventNotPermitted -1743Not authorized to send Apple eventsApple Events permission denied -1743
Seen on: macOS

Meaning

Open System Settings → Privacy & Security → Automation, expand the host app and enable the target app (System Events, Finder, Safari). If no prompt appears, reset: tccutil reset AppleEvents. Sandboxed/hardened apps need the com.apple.security.automation.apple-events entitlement.

Common causes

  • Automation permission not granted
  • Previously denied prompt
  • Host app re-signed
  • Missing entitlement for hardened builds
  • Running as a LaunchDaemon without GUI session

⚡ Quick fix

  1. Grant in Automation settings
  2. tccutil reset AppleEvents and rerun to get the prompt again
  3. Add the Apple Events entitlement and NSAppleEventsUsageDescription

Detailed fix by platform

macOS

  1. tccutil reset AppleEvents then run the script from the app that needs permission

How to diagnose

  1. Target — Which app?
  2. Prompt — Shown?
  3. Entitlement — Present?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Platform & cloud. Errors that are often confused with or caused by this one (click to open):

Camera/Microphone access denied (TCC) — macOS: avfoundation: Could not start capture / "Terminal" does not have access to the camera or microphone — tccd denied (macOS)Camera/Microphone acc…Homebrew Cask: It seems there is already an App at — Homebrew: Error: It seems there is already an App at '/Applications/Chrome.app' (macOS)Homebrew Cask: It see…Homebrew: No available formula with the name — Homebrew: Error: No available formula with the name "x". Did you mean ...? (macOS)Homebrew: No availabl…osascript is not allowed assistive access (-1719/-25211) — macOS: execution error: System Events got an error: osascript is not allowed assistive access. (-1728) (macOS)osascript is not allo…Screen recording permission required — macOS: could not create image from display / "Terminal" would like to record this computer's screen / screencapture: cannot capture without permission (macOS)Screen recording perm…Your Command Line Tools are too outdated — Homebrew: Error: Your Command Line Tools (CLT) are too outdated. Update them from Software Update / Please update to the latest macOS (macOS)Your Command Line Too…zsh: bad CPU type in executable — macOS (Apple Silicon): zsh: bad CPU type in executable: ./tool (macOS)zsh: bad CPU type in …Not autho…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.