- Qubitara Central
- Troubleshooting
- SCIM sync errors
SCIM sync errors
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#
Go to Access → Applications, open the application, and open the Sync Logs tab.
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.
Open a run to see its rows, one per request Central sent.
Column | What it shows |
|---|---|
Time | When the request was sent |
Operation |
|
Target | The user (by email) or group (by name) the request concerned |
HTTP status | The application's response code: |
Response | The response body returned by the application, which for a failure contains the application's own explanation |
Result | Succeeded or Failed |
Use the status filter to show only failed rows, and the search box to find one person or group.
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 | Copy the base URL from the application's provisioning settings again. Central appends |
A | 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 |
A | The application requires an attribute Central did not send, or rejects the format, for example a | 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 | 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 | 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:
Open the Sync Logs tab and open the run. Filter to Failed rows.
Sort or scan by Operation. Suppose 11
group createrows succeeded, onegroup createreturned400, and 30group addrows returned404.Open the
400row. The response body readsdisplayName must be unique. The groupEngineeringalready 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.Open one of the
404rows. The target is a user whosecreaterow in an earlier run returned409. Search the earlier run for that user: the application already had an account under a different email, so Central never received anidfor them and cannot add them to a group. Correct the email on one side so the two match.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#
How SCIM works in Central: what each operation in the log means.
Connection status: the run and provisioning statuses.
Add a custom SCIM outbound application: the setup the errors refer to.
SAML errors: when the account exists but sign-in fails.