> ## Documentation Index
> Fetch the complete documentation index at: https://docs.verbeo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Retry import

> Run a campaign's failed contacts import again. It resumes after the last line saved, so no contact is added twice.

Queues a `failed` import again, with five more tries. It resumes after the last line it saved, so the contacts already imported are not added twice. Read `import.error_message` first: a file over the limit fails the same way again, and needs a new campaign with a smaller file.

Only a draft's import runs again. A campaign cancelled during its import has to be created again.

**Who may call it:** any API key of the workspace; in the dashboard, an owner, admin or developer.

## Path

**id** `string` *required*

UUID of the campaign.

## Request

```bash theme={null}
curl -X POST "https://api.verbeo.ai/v2/campaign/0175091d-2c3b-4aef-8c45-dbbe24f7b3ff/import/retry" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Response

`200 OK` with the [campaign object](https://docs.verbeo.ai/api-reference/campaign/overview.md#the-campaign-object), its import `queued` again. Follow it with [Get campaign](https://docs.verbeo.ai/api-reference/campaign/get.md).

```json theme={null}
{
  "success": true,
  "data": {
    "id": "0175091d-2c3b-4aef-8c45-dbbe24f7b3ff",
    "status": "draft",
    "import": {
      "id": "9b2f5c1e-4d3a-4e8b-a1f0-6c7d8e9f0a1b",
      "status": "queued",
      "lines_read": 20000,
      "contacts_added": 19998,
      "error_message": null,
      "attempts": 0,
      "…": "the rest of the import object"
    },
    "…": "the rest of the campaign object"
  }
}
```

## Errors

| Code | Status | When |
| - | - | - |
| `CONFLICT` | 409 | The import has not failed: `Only a failed import can be retried; this one is importing.` (with its status). If it stopped failing meanwhile: `Only a failed import can be retried; this one is no longer failed.` |
| `CONFLICT` | 409 | `The campaign is no longer a draft, so its import cannot run again.` |
| `CONFLICT` | 409 | `This campaign has no contacts file to import again.`: a campaign made without one, before version 2 or through version 1. |
| `NOT_FOUND` | 404 | `Campaign not found`. |
| `FORBIDDEN` | 403 | A dashboard member below developer: `Retrying an import requires the developer, admin or owner role`. An API key acts as the owner and never gets it. |

And the [errors every route can give](https://docs.verbeo.ai/api-reference/campaign/overview.md#errors-every-route-can-give).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.