<!--
{
  "availability" : [
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "WatchKit",
  "identifier" : "/documentation/WatchKit/WatchKitError/invalidArgument",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "WatchKit"
    ],
    "preciseIdentifier" : "s:SC17WatchKitErrorCodeLeV15invalidArgumentSoAAVvpZ"
  },
  "title" : "invalidArgument"
}
-->

# invalidArgument

An invalid argument error.

```
static var invalidArgument: WatchKitError.Code { get }
```

## Discussion

WatchKit reports this error when you specify invalid settings for one of the system supplied interfaces.

---

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)