# Build Error: You have already reached the maximum allowed number of keys for this service

Although not common, you may have an iOS build fail if you have an existing notification key which we are unable to use during the build process.

#### Cause:

You have an existing Notification Key in your Apple Developer Account. Adalo requires one key for push notifications within iOS apps which cannot be opted out of.&#x20;

#### Resolution:

Remove any Notification Key in order for Adalo to be able to create one so that we are able to upload this app to TestFlight. To do this, please follow these steps:

1. Log in to your [Apple Developer Account](https://developer.apple.com/account/resources/authkeys/list).
2. Navigate to "Account"
3. Select "Certificates", then Identifiers and Profiles, then go to the left side and select keys.
4. Then revoke access on a key using Apple Push Notifications service (APNs).
5. Go back to Adalo and create a new build for your iOS app. This will generate a fresh key and you should be able to proceed.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.adalo.com/publishing-apps/publishing-to-the-apple-app-store/submit-your-build-to-the-app-store/build-error-you-have-already-reached-the-maximum-allowed-number-of-keys-for-this-service.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
