Okta Runscope SCIM Tests Fail With Variable Not Defined Or Empty Request Errors During OIN Submission
Last Updated:
Overview
When submitting a System for Cross-domain Identity Management (SCIM) application to the Okta Integration Network (OIN), ISV partners must run a Runscope test suite to validate their SCIM implementation. During test execution, the following errors may be encountered"
Unable to execute empty request
Request failed to set 'body' — Variable 'okta_user_firstname' was not defined
Or the following API validation error is returned:
"errorCode": "E0000001",
"errorSummary": "Api validation failed: assignment"
{
"errorCode": "E0000001",
"errorSummary": "Api validation failed: assignment",
"errorCauses": [
{ "errorSummary": "Property 'emailType' not found" },
{ "errorSummary": "Property 'familyName' not found" },
{ "errorSummary": "Property 'givenName' not found" }
]
}Applies To
- Okta Integration Network (OIN) App Submission Process
- Independent Software Vendors (ISVs) Submitting to OIN
- Runscope System for Cross-domain Identity Management (SCIM) Test Suite
- Okta Identity Engine (OIE)
Cause
The Runscope test suite requires an active API connection between the Okta org and the SCIM application to initialize test variables and execute requests. When the Configure API Integration setting remains disabled under Provisioning > Integration, the SCIM Base URL and API Token are not configured.
This leaves Runscope disconnected from the SCIM server, causing all tests to fail with varying errors, empty request errors, or API validation failures.
Solution
What steps enable the API integration for the SCIM application?
Enable the API integration in the Okta Admin Console and configure the SCIM Base URL and API Token to establish a connection for the Runscope test suite. This step is a prerequisite as outlined in the following Okta documentation: Submit an integration with the OIN Wizard.
- In the Okta Admin Console, navigate to Applications > Applications.
- Select the SCIM app integration being submitted to OIN.
- Click the Provisioning tab.
- Click Integration in the left sidebar.
- Click Configure API Integration.
- Select the Enable API Integration checkbox.
- Enter the SCIM 2.0 Base URL and API Token for the SCIM server.
- Click Test API Credentials to verify the connection.
- Click Save.
- Return to the Runscope test suite and re-run the tests.
