<!--
{
  "availability" : [
    "macCatalyst: 14.0.0 -",
    "macOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Automator",
  "identifier" : "/documentation/Automator/AMError/actionNotLoadableError",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Automator"
    ],
    "preciseIdentifier" : "s:SC11AMErrorCodeLeV22actionNotLoadableErrorSoAAVvpZ"
  },
  "title" : "actionNotLoadableError"
}
-->

# actionNotLoadableError

An error that indicates the action’s executable is of a type that is not loadable in the current process.

```
static var actionNotLoadableError: AMError.Code { get }
```

## Discussion

If the action uses a custom subclass of [`AMBundleAction`](/documentation/Automator/AMBundleAction) or [`AMAppleScriptAction`](/documentation/Automator/AMAppleScriptAction), then the most likely problem is that the bundle’s executable is missing or the `NSPrincipleClass` is not set in the `Info.plist`. Users are likely to be confused by a “missing bundle” error, so Automator presents it as the more generic “action not loadable” error.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)