<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
CSV Directory Import Error "The Provisioning Agent call to downloadUsersPartial failed with an agent timeout"
Okta Integration Network
Overview

CSV Directory incremental import fails with the following error visible in the Okta dashboard:

Error while downloading all users: The Provisioning Agent call to downloadUsersPartial failed with an agent timeout. Please check and ensure Provisioning Agent is running.
 

Error Message

Applies To
  • CSV Directory
  • Import
  • Incremental
  • Error
Cause

The CSV agent logs show the following:

[ 2023-02-28 09:32:32.228 ] [ Thread-2 ] [RestClient] [  ] [INFO] - Waiting 5000ms before retrying [ 2023-02-28 09:32:37.408 ] [ Thread-2 ] [RestClient] [  ] [ERROR] - Error while making request: Cannot construct instance of `com.okta.agent.api.http.OktaErrorResponse` (although at least one Creator exists): no int/Int-argument constructor/factory method to deserialize from Number value (401)_ at [Source: (byte[])"401 UNAUTHORIZED "Unauthorized""; line: 1, column: 1] com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of `com.okta.agent.api.http.OktaErrorResponse` (although at least one Creator exists): no int/Int-argument constructor/factory method to deserialize from Number value (401) at [Source: (byte[])"401 UNAUTHORIZED "Unauthorized""; line: 1, column: 1]  at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:63) at  com.fasterxml.jackson.databind.DeserializationContext.reportInputMismatch(DeserializationContext.java:1455) at com.fasterxml.jackson.databind.DeserializationContext.handleMissingInstantiator(DeserializationContext.java:1081) at com.fasterxml.jackson.databind.deser.ValueInstantiator.createFromInt(ValueInstantiator.java:262) at com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.createFromInt(StdValueInstantiator.java:356) at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromNumber(BeanDeserializerBase.java:1359) at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeOther(BeanDeserializer.java:178) at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:166)at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4524)at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3527)at com.okta.agent.api.http.RestClient.makeRequestWithBackoff(RestClient.java:537)at com.okta.agent.api.http.RestClient.getNextAction(RestClient.java:204)at com.okta.agent.OktaAgent.fetchAction(OktaAgent.java:138)at com.okta.agent.OktaAgent.access$100(OktaAgent.java:34)at com.okta.agent.OktaAgent$1.run(OktaAgent.java:96)at java.lang.Thread.run(Thread.java:748)

Solution
  1. Uninstall the previous Okta Provisioning Agent.
  2. To reuse the existing configuration, choose not to delete the OPP Configuration/API Token. Choosing to delete will remove the agent configuration data and the API Token from the hard drive. The API token for the server is still valid in Okta.
  3. Install the Okta Provisioning Agent again by following the Install the Okta Provisioning Agent documentation.
  4. In the Admin Console, go to DashboardAgents. Confirm that the reinstalled Okta Provisioning Agent appears in the list.
  5. Click the Activate drop-down menu of the old provisioning agent and then select Deactivate. The status changes to Inactive.

 

NOTE: There might also be the need to select the agents for the CSV Directory again by following these steps:

  1. On the left-side menu, select Directory > Directory Integrations.
  2. Select CSV Directory.
  3. Go to the Provisioning tab.
  4. On the Provisioning menu, select Integration.
  5. On the Integration tab, click the Edit button.
  6. Select the Agents that should be connected to the Imports.
  7. Click Save at the bottom of the page.

 

Related References

Recommended content

Loading
CSV Directory Import Error "The Provisioning Agent call to downloadUsersPartial failed with an agent timeout"