# Connect Web SDK Events
source: https://developer.mastercard.com/open-finance-us/documentation/connect/integrating/sdk/events/connect-websdk-events/index.md

## Load {#load}

| Event |                      Description                       |
|-------|--------------------------------------------------------|
| Load  | When the Data Connect application starts (no payload). |

## Cancel {#cancel}

| Event  |                             Description                             |
|--------|---------------------------------------------------------------------|
| Cancel | The customer clicks Exit to cancel out of the Data Connect session. |

```JSON
{
    "code": 100,
    "reason": "exit"
}
```

## Error / Timeout Events {#error--timeout-events}

|  Event  |                               Description                                |
|---------|--------------------------------------------------------------------------|
| Timeout | The customer is forced to exit Data Connect after the session times out. |

```JSON
{
    "code": 1440,
    "reason": "timeout"
}
```

|      Event       |                        Description                         |
|------------------|------------------------------------------------------------|
| Unexpected error | The customer exits Data Connect after an unexpected error. |

```JSON
{
   "code": 500,
   "reason": "error"
}
```

## Success {#success}

|  Event  |                                     Description                                      |
|---------|--------------------------------------------------------------------------------------|
| Success | The customer successfully completes the Data Connect app and submits their accounts. |

```JSON
{
  "reason": "complete",
  "code": 200,
  "reportData": [
    {
      "portfolioId": "puukbn68n9kf-6-port",
      "type": "voi",
      "reportId": "ubjqshpkcsru-voi"
    },
    {
      "portfolioId": "puukbn68n9kf-6-port",
      "type": "transactions",
      "reportId": "9d0kr7s5h4th-transactions"
    }
  ]
}
```

