---
title: signatureDurationInvalid
framework: shazamkit
role: symbol
role_heading: Type Property
path: shazamkit/sherror/signaturedurationinvalid
---

# signatureDurationInvalid

The error code to indicate that the length of the generated signature is too long or too short to make a match in the catalog.

## Declaration

```swift
static var signatureDurationInvalid: SHError.Code { get }
```

## Discussion

Discussion This error occurs when the length of the generated signature is less than minimumQuerySignatureDuration or greater than maximumQuerySignatureDuration for the session catalog.

## See Also

### Constants

- [matchAttemptFailed](shazamkit/sherror/matchattemptfailed.md)
- [signatureInvalid](shazamkit/sherror/signatureinvalid.md)
- [invalidAudioFormat](shazamkit/sherror/invalidaudioformat.md)
- [internalError](shazamkit/sherror/internalerror.md)
- [audioDiscontinuity](shazamkit/sherror/audiodiscontinuity.md)
- [customCatalogInvalidURL](shazamkit/sherror/customcataloginvalidurl.md)
- [customCatalogInvalid](shazamkit/sherror/customcataloginvalid.md)
- [mediaItemFetchFailed](shazamkit/sherror/mediaitemfetchfailed.md)
- [mediaLibrarySyncFailed](shazamkit/sherror/medialibrarysyncfailed.md)
