---
title: Testing invalid product identifier handling
framework: storekit
role: article
role_heading: Article
path: storekit/testing-invalid-product-identifier-handling
---

# Testing invalid product identifier handling

Verify that your app correctly handles invalid product identifiers.

## Overview

Overview Intentionally include an invalid identifier in your app’s list of product identifiers. Then do one of the following: In a production build, verify that the app displays the rest of its store UI and that users can purchase the valid products. In a development build, verify that the app brings the issue to your attention. Check the console log and verify that you can correctly identify the invalid product identifier. Make sure you remove it after testing. For more information on fetching product identifiers, see Loading in-app product identifiers.

## See Also

### Product identifiers and requests

- [Testing fetching product identifiers](storekit/testing-fetching-product-identifiers.md)
- [Testing a product request](storekit/testing-a-product-request.md)
