# When importing data to existing cases, how are locked cases handled?

In the event that you attempt to import data to an existing case or cases via file upload, we will attempt to import that data to the cases. If the case is locked, by default the import will stop running and notify you of the error.

If you would like the option to automatically unlock cases as part of this data import mechanism, in order to prevent any data processing errors,  you can select the "Unlock Cases?" option.

<figure><img src="/files/MjTNJviArSE9qFa7uuh8" alt=""><figcaption></figcaption></figure>

Note that you will need a badge with the "Unlock Case Information" permission in order to use this feature:

<figure><img src="/files/Z1vCO9X6STcLVW39tdei" alt=""><figcaption></figcaption></figure>


---

# 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.hummingbird.co/data-integrations/when-importing-data-to-existing-cases-how-are-locked-cases-handled.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.
