<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

Udemy Business Provisioning Error "Invalid JSON: Unexpected character: expected a valid value"

Okta Integration Network
Okta Classic Engine
Okta Identity Engine

Overview

Udemy Business provisioning flow fails with the following error visible in the Okta dashboard:

Automatic provisioning of user <username> to app Udemy Business failed: Error while verifying if user <username> exists: Forbidden. Errors reported by remote server: Invalid JSON: Unexpected character ('<' (code 60)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false')

 

Applies To

  • Udemy Business
  • Provisioning
  • Error

Cause

The API Credentials (Username and/or Password) used to create the API connection are invalid.

Solution

  1.  Go to Okta Admin Console and navigate to Applications > Applications > Udemy Business > Provisioning > Integration > Edit.
  2. Add the subdomain, CLIENT_ID as username, and SECRET_ID as password. 

  3. Click Test API Credentials, verify the connection was successful, and then click Save.

  4. Attempt the failed tasks again. Navigate to Dashboard > Tasks. Any failed assignments should appear under Tasks.

 Tasks 

  1. After identifying the failed task for the user that should be retried, click Retry Selected.

 
Loading
Okta Support - Udemy Business Provisioning Error "Invalid JSON: Unexpected character: expected a valid value"