---
title: SHError.Code.signatureDurationInvalid
framework: shazamkit
role: symbol
role_heading: Case
path: shazamkit/sherror/code/signaturedurationinvalid
---

# SHError.Code.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
case signatureDurationInvalid
```

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

### Signature errors

- [SHError.Code.signatureInvalid](shazamkit/sherror/code/signatureinvalid.md)
