---
title: InvalidNotificationTypeError
framework: appstoreserverapi
role: symbol
role_heading: Object
path: appstoreserverapi/invalidnotificationtypeerror
---

# InvalidNotificationTypeError

An error that indicates the notification type or subtype is invalid.

## Declaration

```data
object InvalidNotificationTypeError
```

## Properties

errorCode: errorMessage: For a list of valid notification types and subtypes, see notificationType and subtype. If you provide both a notification type and subtype, ensure the two are a valid combination, as documented on subtype.

## See Also

### Notification test and history errors

- [InvalidEndDateError](appstoreserverapi/invalidenddateerror.md)
- [InvalidPaginationTokenError](appstoreserverapi/invalidpaginationtokenerror.md)
- [InvalidStartDateError](appstoreserverapi/invalidstartdateerror.md)
- [InvalidTestNotificationTokenError](appstoreserverapi/invalidtestnotificationtokenerror.md)
- [InvalidInAppOwnershipTypeError](appstoreserverapi/invalidinappownershiptypeerror.md)
- [InvalidProductIdError](appstoreserverapi/invalidproductiderror.md)
- [InvalidProductTypeError](appstoreserverapi/invalidproducttypeerror.md)
- [InvalidSortError](appstoreserverapi/invalidsorterror.md)
- [InvalidSubscriptionGroupIdentifierError](appstoreserverapi/invalidsubscriptiongroupidentifiererror.md)
- [MultipleFiltersSuppliedError](appstoreserverapi/multiplefilterssuppliederror.md)
- [PaginationTokenExpiredError](appstoreserverapi/paginationtokenexpirederror.md)
- [ServerNotificationURLNotFoundError](appstoreserverapi/servernotificationurlnotfounderror.md)
- [StartDateAfterEndDateError](appstoreserverapi/startdateafterenddateerror.md)
- [StartDateTooFarInPastError](appstoreserverapi/startdatetoofarinpasterror.md)
- [TestNotificationNotFoundError](appstoreserverapi/testnotificationnotfounderror.md)
