Workday errors in plain English.

Submit an Error
errors / soap-web-services / soap-reactivate-organization-company-reference-id-invalid

Reactivate_Organization Fails When Organization_Reference Uses Company_Reference_ID Type

✓ Verified SOAP Web Services 6 lookups
The error <faultcode>SOAP-ENV:Client.validationError</faultcode><faultstring>Validation error occurred. Invalid ID value. 'SO_001111111' is not a valid ID value for type = 'Company_Reference_ID'</faultstring>

What it means

Calling Reactivate_Organization with an Organization_Reference that uses the Company_Reference_ID type fails validation because that ID type does not resolve to the Supervisory Organization being reactivated. Company_Reference_ID is meant for the Company/Organization hierarchy object type, not the reference ID types Reactivate_Organization actually expects.

Troubleshooting

  1. Confirm which ID types are valid for wd:Organization_Reference on Reactivate_Organization by running a Get_Organizations request for the same org and checking which ID type values come back in the response's ID list.
  2. Swap the wd:type attribute from Company_Reference_ID to a supported type such as Organization_Reference_ID or WID, using one of the ID values confirmed in step 1.
  3. Resend the Reactivate_Organization request with the corrected reference type and confirm the fault clears.
  4. If multiple ID types are needed downstream, cache the full ID list from Get_Organizations rather than assuming one reference type works across every organization-related web service.
⚡ Quick fix

Change the wd:type attribute on Organization_Reference from Company_Reference_ID to a supported type such as Organization_Reference_ID, using a value confirmed via Get_Organizations.

✓ Permanent fix

When building requests against any Organization-related web service, validate the reference ID type against a fresh Get_Organizations response rather than reusing ID type attributes copied from an unrelated web service or older integration.

Was this helpful?

Related errors