<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00006OFrUtSALOkta Classic EngineIntegrationsAnswered2019-10-01T16:05:16.000Z2019-07-01T15:08:55.000Z2019-07-30T15:57:19.000Z

GeorgeW.27657 (Customer) asked a question.

Okta SCIM API - Importing Users

I'm trying to test importing some dummy user data into my okta preview sandbox, but am getting an error. 

Okta makes a call to my server to get /Users, which appears to complete successfully. I return a standard SCIM user object with a few resources in it. Then, it calls to the /Groups endpoint where I return 

 

```

res.status(200).send('{"Resources":[],"schemas":["urn:ietf:params:scim:api:messages:2.0:ListResponse"],"startIndex":1,"totalResults":0}%');

```

as no groups are configured yet.

I expect this to successfully import the users I returned in the initial call to the /Users endpoint but Okta is throwing the following error:

 

>Could not execute JDBC batch update; SQL [/*7c486adb-7 job_id=someID operation=import:users org=someORG host=op1-jobapp-a-0e984fcd9d9dd99e1.aue1s.internal user=someUser *//* insert com.okta.monolith.platform.groups.db.dto.GroupPath */ insert into GroupPath (createdBy, createdDate, lastUpdate, lastUpdatedBy, version, orgId, ancestor, descendant, instanceId, oldReferenceCount, referenceCount, status, type, updatedBy, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,


This question is closed.
Loading
Okta SCIM API - Importing Users