Skip to content
Docs
Qubitara Central

SCIM sync errors

Updated Version 1CENTRAL-72

How to read an application's Sync Logs tab, what each HTTP status in it means, and how to fix the provisioning failures administrators see most. Every SCIM request Central sends is logged, so a failure is always traceable to a specific record and a specific response from the application.

Reading the Sync Logs tab#

  1. Go to Access → Applications, open the application, and open the Sync Logs tab.

  2. The top of the tab lists runs, newest first. Each run is one sync cycle: a Realtime push, a scheduled run, or a click on Sync Now.

  3. Open a run to see its rows, one per request Central sent.

Column

What it shows

Time

When the request was sent

Operation

create, update, deactivate, delete, group create, group add, group remove

Target

The user (by email) or group (by name) the request concerned

HTTP status

The application's response code: 200 or 201 for success, anything else for a failure

Response

The response body returned by the application, which for a failure contains the application's own explanation

Result

Succeeded or Failed

  1. Use the status filter to show only failed rows, and the search box to find one person or group.

  2. The run's own status summarises the rows: Completed (no failures), Completed with errors (some failures) or Failed (the run could not reach the endpoint at all).

Expected result: for a healthy application, every row is 200 or 201 and the run is Completed.

Symptoms, causes and fixes#

Symptom

Cause

Fix

Every row returns 401 or 403, or Test Connection fails with 401

The bearer token is invalid, expired, or was regenerated in the application

Generate a new token in the application, open Provisioning → Configure SCIM →, paste it into Bearer token, click Test Connection, then Sync Now.

Every row returns 404, or Test Connection fails with 404

The Target SCIM Base URL is wrong: a typo, a missing /scim/v2, or an extra /Users on the end

Copy the base URL from the application's provisioning settings again. Central appends /Users and /Groups itself.

A create row returns 409 with "user already exists" or "duplicate userName"

The application already holds an account with that email, created by hand or by an earlier connection

Leave it: on the next run Central matches the existing account by userName and links it. If the duplicate has a different email, correct one of the two so they match, or remove the manual account.

A create or update row returns 400 with "missing required attribute" or "invalid value"

The application requires an attribute Central did not send, or rejects the format, for example a userName that is not an email or a phone number without a country code

Read the response body for the attribute name. Add or correct the mapping under Provisioning and on the user's record; see SCIM attribute mapping. Then Sync Now.

Rows return 429 and the run takes a long time or ends with errors

The application rate-limited Central, usually on a first full sync of many users

Central retries rate-limited requests with backoff. Let the run finish, then click Sync Now to pick up any rows that exhausted their retries. For very large first syncs, assign groups in stages.

A person removed from every assigned group is still active in the application

Deprovisioning is off, the person is still in another assigned group, or the application ignores active=false

Check every group on the Access Policy. Check the deprovisioning setting under Provisioning. If the application does not support deactivation, the response body says so; switch the action to delete if the application supports it.

Groups are not created in the application, or exist without members

Sync groups is off, the application does not support SCIM Groups, or the members were not yet created when the group was pushed

Switch Sync groups on. Confirm the application supports group push in Supported integrations. Run Sync Now a second time so that membership is pushed after the users exist.

A run ends Completed with errors and the failed rows are all deactivate

The Access Policy is group-based and people who use the application are outside the assigned groups, so Central is deactivating them

Add every legitimate user of the application to an assigned group, then Sync Now. This is the most common cause of a long list of errors after a policy change.

The run status is Failed with no rows

The endpoint was unreachable: DNS, TLS or a firewall on the application side

Run Test Connection. If it fails, check the application's status page and any allow-list it requires for inbound SCIM traffic.

An inbound run pulls no users, or fewer than expected

The source credential lacks permissions, or the group filter excludes them

For Microsoft 365, check the Graph permissions on Least-privilege permissions and the Include Only list on the Provisioning tab.

Worked example: many errors after enabling group push#

You switch Sync groups on for an application with 200 users and 12 groups. The next run ends Completed with errors and the Provisioning tab shows dozens of failures. Isolate the failing records like this:

  1. Open the Sync Logs tab and open the run. Filter to Failed rows.

  2. Sort or scan by Operation. Suppose 11 group create rows succeeded, one group create returned 400, and 30 group add rows returned 404.

  3. Open the 400 row. The response body reads displayName must be unique. The group Engineering already exists in the application from a manual setup. Rename the manual group in the application, or rename the Central group to match it so Central links to it on the next run.

  4. Open one of the 404 rows. The target is a user whose create row in an earlier run returned 409. Search the earlier run for that user: the application already had an account under a different email, so Central never received an id for them and cannot add them to a group. Correct the email on one side so the two match.

  5. Click Sync Now. The rerun should show the group created and the members added. Repeat the filter; the failed list should now be empty.

Expected result: the run ends Completed, and the group and member counts on the Provisioning tab match the application.

Related#

Was this page helpful?