<!--
{
  "availability" : [
    "macCatalyst: 14.0.0 -",
    "macOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Automator",
  "identifier" : "/documentation/Automator/AMError/Code/actionNotLoadableError",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Automator"
    ],
    "preciseIdentifier" : "c:@E@AMErrorCode@AMActionNotLoadableError"
  },
  "title" : "AMError.Code.actionNotLoadableError"
}
-->

# AMError.Code.actionNotLoadableError

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

```
case actionNotLoadableError
```

## 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)