# Error code: 07

This error occurs when the API Key that was generated the last time for compiling for iOS is already invalid; therefore, the system will request that you add a new API Key.

NOTE: When the system requests the API Key again, do not enter the old one since it is invalid. You need to create a new one and add it.

To resolve the problem, follow the steps indicated below:

Step 1: Follow steps 1 to 14 in this guide to generate a new API Key for iOS: [Compile version in TestFlight](/global-functions-1/ios.md), and then proceed with compiling.

Compile again, if the compilation processes successfully, the problem has been resolved. If it returns an error or presents another issue during the key deletion process, proceed to the next step.

Step support: Contact support via the editor's chat or at the following phone number, sending a message with the following information:

<https://wa.me/+14844608334>

1.-Contact E-Mail

2.-URL to the application with error

3.-Error code sent to email (Include email capture)

4.-Indicate the previous actions that have been carried out before sending the message (Mention if the steps of a particular Post were followed)


---

# 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://docs.apphive.io/global-functions-1/compilation-errors/error-code-07.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.
