---
title: invalidInput
framework: DeviceCheck
role: symbol
role_heading: Type Property
platforms: [iOS 11.0+, iPadOS 11.0+, Mac Catalyst 13.1+, macOS 10.15+, tvOS 11.0+, visionOS 1.0+, watchOS 9.0+]
path: devicecheck/dcerror-swift.struct/invalidinput
---

# invalidInput

An error code that indicates when your app provides data that isn’t formatted correctly.

## Declaration

```swift
static var invalidInput: DCError.Code { get }
```

## See Also

### Errors

- [featureUnsupported](devicecheck/dcerror-swift.struct/featureunsupported.md)
- [invalidKey](devicecheck/dcerror-swift.struct/invalidkey.md)
- [serverUnavailable](devicecheck/dcerror-swift.struct/serverunavailable.md)
- [unknownSystemFailure](devicecheck/dcerror-swift.struct/unknownsystemfailure.md)
- [DCError.Code](devicecheck/dcerror-swift.struct/code.md)
