---
description: What the error messages of an API event mean and what to do about them — configuration errors that switch the API off, source outages that suspend polling, rejected sessions, refused syncs, Cvent waiting periods and the manual sync button.
---

# Troubleshooting integrations

When a sync fails, the message is shown in three places: the **Last Error** on the event's
API health card, the failed entry in the [import history](import_history.md), and the
server log. This page explains what the messages mean and what to do about them. The
health states themselves (UNSTABLE, SUSPENDED, FAILED) are explained in
[Syncing and API health](api_events.md#api-health).

## Two kinds of failure

Onlit sorts every failed sync into one of two groups, and the group decides what happens
to polling:

| Group | Recognize it by | What Onlit does | What you do |
| --- | --- | --- | --- |
| **Permanent** — the source rejected the request, or the event cannot be fetched as configured | *Last Error* starts with **Permanent Error:**; the health state is **FAILED**; the event shows **API Disabled** | Switches polling **off** so that a rejecting endpoint is not hammered | Fix the cause, switch **API Enabled** back on in Event Settings, save, and run a manual sync |
| **Transient** — the source did not answer, answered with a server error, or sent data Onlit could not use | *Last Error* starts with **Transient Error:** (state **UNSTABLE**) or **Suspended (3 strikes):** (state **SUSPENDED**) | Keeps polling; after three failures in a row it waits 10 minutes before the next attempt, then 20, and so on up to an hour | Usually nothing — polling recovers by itself when the source is back. If the message points at a setting, fix it and run a manual sync without waiting out the suspension |

A response with HTTP status **400, 401, 403, 404, 410 or 429** is permanent; so is an
error message that contains one of those numbers. Everything else is transient.

Two failures sit outside these groups: a **refused** sync (the Data Filtering rules would
have removed every imported item) keeps polling on while showing FAILED, and a **Cvent
waiting period** suspends polling until a time Cvent dictates. Both are listed below.

## Messages

### Event configuration

| Message | Meaning | What to do |
| --- | --- | --- |
| **API URL is missing or empty** | The event has no **API URL** | Enter the URL in Event Settings, re-enable the API |
| **Unsupported API Integration: no client for integration type '…'** | The event's source is not configured on this installation | Contact whoever runs the installation; the source has to be enabled in the server configuration |
| **Preseria API Schema is required in URL query params** | A Preseria API URL without `?schema=…` | Add the schema parameter as shown on the [Preseria](preseria.md) page |
| **Event API URL is required** / **Cvent Event API URL must be provided.** / **Event API URL must be provided.** | A source-specific check found the URL empty | Enter the URL |
| **Cvent Event API URL must be absolute: …** | The Cvent URL has no `https://` scheme | Use the full URL from the [Cvent](cvent.md) page |
| **Cvent Event API URL must include an event ID, e.g. …** | Onlit could not find the Cvent event ID in the URL | Put the event ID in the path (`/ea/events/{eventId}`) or as `?eventId=` |
| **Cvent client ID and client secret must be provided.** / **Event username and password must be provided.** | **API Username** or **API Password** is empty for a source that needs both | Enter both; which value goes where is on the source's page |
| **invalid fieldName syntax** | A stored Data Filtering rule has a field name that is not a dot-notation path; the sync stopped before reading anything and the API was switched off | Follow [Recovering from an invalid field name](item_filters.md#recovering-from-an-invalid-field-name) |

### Credentials and the source's answer

| Message | Meaning | What to do |
| --- | --- | --- |
| **… HTTP 401** / **… HTTP 403** / **Unauthorized** / **Forbidden** | The source rejected the credentials, or they lack access to this event | Check username, password or key, and the app's scopes or event access in the source system |
| **… HTTP 404** / **Not Found** | The URL points at nothing — a typo, a wrong event ID, or an event deleted in the source | Correct the URL or the event ID |
| **… HTTP 410** | The endpoint has been retired | Ask the source's vendor for the current endpoint |
| **… HTTP 429** / **Too Many Requests** | The source is rate-limiting this account. For Cvent, see [Cvent waiting periods](#cvent-waiting-periods) below; for any other source this is treated as permanent | Lengthen the **API Polling Interval** or reduce other traffic on the same account, then re-enable the API |
| **… HTTP 500 / 502 / 503 / 504**, **Connection refused**, **Read timed out**, **Unknown host** | The source is down, unreachable, or slow | Wait; polling retries by itself. If it persists for more than an hour, check the URL and whether the source is reachable from the Onlit server |
| **OAuth Error [104]: …** / **OAuth Custom Error [code]: …** / **OAuth Error [error]: …** (RainFocus) | RainFocus's token endpoint rejected the client ID and secret; the text after the code is RainFocus's own explanation | Check the client ID (API Username) and secret (API Password) |
| **Auth failure: …** (Universal API, OAuth 2.0) | The **Token Endpoint** could not be reached or did not issue a token | Check the token endpoint URL and the client credentials in the [Universal API](universal_api_integration.md#authentication) configuration |
| **SwapCard GQL failed: HTTP …** / **GQL Error: …** | Swapcard's API rejected the request; the GQL Error text is Swapcard's own explanation, often that the API key cannot see the event | Check the event ID (API Username) and the key (API Password) |
| **Could not auto-detect communityId; provide it explicitly.** | The Swapcard key does not belong to a community that contains the event | Use a key issued for the event's community |

### Data Onlit could not use

| Message | Meaning | What to do |
| --- | --- | --- |
| **Root Data Path did not match response JSON: …** | The Universal API **Root Data Path** does not exist in the response | Compare the path with the actual response; see [Locating the data](universal_api_integration.md#locating-the-data) |
| **Root Data Path must resolve to an object or array: …** | The path points at a single value (a string or number) instead of the list of items | Point it at the list, or at the object that holds the list |
| **SUBS response missing 'sessions' array** | The SUBS feed did not contain the `sessions` list | Check the feed URL and the exporter |
| **Fetch returned unresolved root data for event: …** | The response held no JSON that Onlit could read the sessions from | Open the API URL in an API client and check what it returns |
| A **Bad Data** count in the import history, but the sync itself succeeded | Some sessions were rejected (no title, no room, no usable times, end not after start) and the rest were imported | Open **Bad Data Entries** for the errors and the raw payload, and fix the sessions in the source — see [Bad data](import_history.md#bad-data) |
| **[Data Loss Warning] Previously Valid Sessions Rejected** (email) | Sessions that imported fine earlier are rejected now and were removed from the signs | Fix the regressed sessions in the source; they come back on the next sync |

### Refused syncs

| Message | Meaning | What to do |
| --- | --- | --- |
| **Sync refused: Sync stopped before any change: all N fetched items were skipped by Data Filtering rule …** | Every item the source sent matched a *Skip* rule, which would have deleted the whole imported schedule; Onlit changed nothing and kept polling | Correct or remove the rule named in the message, under **Event Settings → Data Filtering Rules**; the next sync runs normally. Details in [A rule that would remove everything](item_filters.md#a-rule-that-would-remove-everything) |

### Cvent waiting periods

| Message | Meaning | What to do |
| --- | --- | --- |
| **Cvent request rate limit reached. Polling will retry at …** | Cvent throttled the requests; polling pauses until the time shown | Nothing — polling resumes by itself. If it recurs, make sure only one event per Cvent account has polling enabled |
| **Cvent daily API quota exhausted. Polling will resume at …** | The account's daily quota is used up; polling resumes at the reset time Cvent reported, or at midnight UTC | Turn off polling for ended events on the same account; consider a longer polling interval |
| **Cvent returned HTTP 429. Polling will retry at …** | Cvent answered 429 without saying why | As above |
| **Unable to check Cvent request availability. Please try again later.** | Onlit could not read its own pacing record for the account | Transient; retried on the next poll |

These waiting periods apply to manual sync as well, and to every event that uses the same
Cvent client ID. The rules are on the [Cvent](cvent.md#rate-limits) page.

### The manual sync button

| Message | Meaning | What to do |
| --- | --- | --- |
| **API polling is not enabled for this event.** | The event is **API Disabled** | Enable the API in Event Settings first |
| **A sync is already in progress. Please wait.** | A scheduled poll, another manual sync or an Excel import holds the event's import lock | Wait for it to finish; the import history shows when it did |
| **Manual polling is disabled.** | The installation does not allow manual syncs | Wait for the next scheduled poll |
| **An import is currently running for this event. Changes to rooms and scheduled items are temporarily blocked. Try again when the import is finished.** | Not a sync error: you tried to edit a room or item while a sync was running | Wait and save again; nothing was lost. See [While an import runs](api_events.md#while-an-import-runs) |

### Saving the Universal API configuration

| Message | Meaning | What to do |
| --- | --- | --- |
| **Invalid JSON path syntax: Root Data Path has issues: …** (or List Expansion Field, Unique ID Field, a Unique ID Pattern placeholder, a Field Mapping) | A path in the dialog is not dot notation — a slash, a leading dot, empty segments | Write the path as `data.sessions`, `location.name` |
| **Invalid JSON path syntax: Unique ID Pattern contains an empty placeholder** | The pattern has `{}` with nothing inside | Name a field inside every pair of brackets |
| **This event's stored import rules fail validation against this profile: …** | A [field rule](field_rules.md) stored for this event conflicts with the protected `_unique_id` field | Remove or change the rule named in the message, then save the configuration again |

## If the message is not listed

- Open the failed entry in the [import history](import_history.md): the full text is kept
  there even when the health card truncates it.
- Run a **manual sync** after each change you make; it reports the result within seconds,
  and it works while polling is suspended.
- If the sync succeeds but a sign still shows old data, the integration is not the
  problem: see [Editing scheduled item JSON](../events/editing_item_json.md) for overrides
  that keep a source change from reaching the sign, and
  [Room identity and renames](room_identity.md) for a room that moved to a new URL.

## Related

- [Syncing and API health](api_events.md)
- [Import history](import_history.md)
- [Alert emails](alert_emails.md)
- [Item filters](item_filters.md)
