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

# number_import.failed

> Surge sends this event when it rejects a phone number import request.

Surge sends `number_import.failed` when it rejects a phone number import request. The event identifies the import request and the affected phone numbers.

The `data.failure_reason` field explains why the import failed. If you need help, contact [Surge support](mailto:support@surge.app) and include the import request ID.

## Example payload

```json theme={null}
{
  "account_id": "acct_01japd271aeatb7txrzr2xj8sg",
  "data": {
    "failure_reason": "The account number does not match the losing carrier's records.",
    "id": "pnir_01jjnn7s0zfx5tdcsxjfy93et2",
    "phone_numbers": ["+18015551234"]
  },
  "timestamp": "2024-10-21T23:29:41Z",
  "type": "number_import.failed"
}
```

## Payload fields

All fields in this table are required.

| Field | Type | Description |
| - | - | - |
| `account_id` | string | The account in which the import failed. |
| `type` | string | Always `number_import.failed`. |
| `timestamp` | string | The time that the event occurred, in ISO 8601 format. |
| `data.id` | string | The import request ID. |
| `data.phone_numbers` | array of strings | The phone numbers in the import request, in E.164 format. |
| `data.failure_reason` | string | The reason that the import failed. |

See [Importing phone numbers](https://docs.surge.app/phone-numbers/importing.md#knowing-when-an-import-fails) for the import process and failure notifications.


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