---
title: MarketplaceKitError.ageRatingExceptionNotNeeded
framework: marketplacekit
role: symbol
role_heading: Case
path: marketplacekit/marketplacekiterror/ageratingexceptionnotneeded
---

# MarketplaceKitError.ageRatingExceptionNotNeeded

An error that indicates the app requests an unnecessary age-rating exception.

## Declaration

```swift
case ageRatingExceptionNotNeeded
```

## Mentioned in

Providing age-rating appropriate content

## Discussion

Discussion The framework throws this error if your app sets requestAgeException to true when it’s not needed — that is, when the app to install has an age rating that’s within the allowed range for the device (as determined by maximumAllowedAgeRating).

## See Also

### Age-rating errors

- [MarketplaceKitError.missingAgeRatingExceptionRequest](marketplacekit/marketplacekiterror/missingageratingexceptionrequest.md)
- [MarketplaceKitError.ratingRestricted](marketplacekit/marketplacekiterror/ratingrestricted.md)
