---
title: "Connection error created"
method: POST
path: "connection-error.created"
---

# Connection error created

`POST connection-error.created` (webhook)

When a Connection Error is created.

## Payload

- union
  - GeneralConnectionErrorsCreatedFullWebhook
    - `connection_id` string, required
    - `data` ConnectionErrorPyConnectionErrorApiItemSchema, required
      - `failed_url` string, required: The URL that failed.
      - `affected_endpoints` AffectedEndpoints[], required: A list of endpoints that were affected by the error and whether the error is preventing the sync from completing.
        - `endpoint` string, required: The endpoint that was affected.
        - `preventing_sync` boolean, required: If True, the error is preventing the sync from completing. If False, we are able to sync but there may be data or fields that we are unable to fetch.
      - `integration_name` string, required: The name of the affected integration.
      - `error_message` string, required: The error message.
      - `created_date` string, date-time, required: The date the connection error was created.
      - `updated_date` string, date-time, required: The date the connection error was last updated.
      - `last_seen` string, date-time, required: The last time this connection error was seen.
      - `trackstar_created_date` string, date-time, required
      - `trackstar_updated_date` string, date-time, required
    - `event_type` 'connection-error.created', required
    - `integration_name` string, required
    - `integration_type` string, required
  - GeneralConnectionErrorsCreatedTruncatedWebhook
    - `connection_id` string, required
    - `data` GeneralConnectionErrorsCreatedTruncatedData, required
      - `id` string: The record this event is about. Absent on connection webhooks, which carry dates rather than a row.
    - `event_type` 'connection-error.created', required
    - `integration_name` string, required
    - `integration_type` string, required
    - `data_truncated` boolean, required: Always true on this shape. The event was too large to send in full, so `data` holds only the `id` and `previous_attributes` is empty.
    - `data_url` string, required: Called with your usual API key, it returns a download link for this event exactly as it would have been delivered.

## Acknowledgement `200`

Success

---

[API](https://skmtc.dev/trackstarhq/apis/trackstar-api.md) - [All operations](https://skmtc.dev/trackstarhq/apis/trackstar-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trackstarhq/apis/trackstar-api/revisions/08647f790594?raw)
