02-02-2026 10:48 AM
I'm using the UKG Pro (SOAP) connector, Delete Record action and keep getting this 415 error. I've done a ton of troubleshooting with my inputs, e.g. varying date formats, employee number vs employee id, yes vs true for the boolean fields - all with no change.
I looked into the source code to see what line is throwing the error, but I'm not sure what it means.
The connector action says that it requires 'delete' permission for the Terminate Employee service, but my site admin confirmed that delete isn't an available option for any service account, and the account has all available permissions granted, so I don't think that's the culprit.
Any suggestions or guidance is appreciated! If anyone has worked with this UKG Pro connector specifically, I'd be grateful for any advice. I haven't worked with SOAP before. Thank you!
02-02-2026 10:51 AM
Screenshots:
02-02-2026 11:04 AM
Since it's a POST, I'm assuming the endpoint is expecting a JSON. But dig doesn't result in a JSON, it results in a single value.
{"hello":"pal"}.dig("hello")
## outputs => "pal"Can you provide a sample payload of what the API is expecting?
02-04-2026 11:57 AM
I think it may be expecting XML and I only say that because the documentation for the web service has XML as their example?
<b:Termination>
<b:CobraDate>0001-01-01T00:00:00</b:CobraDate>
<b:CobraQualifyingEvent>false</b:CobraQualifyingEvent>
<b:CobraReason i:nil="true" />
<b:EligibleForRehire>false</b:EligibleForRehire>
<b:EligibleForSeverance>false</b:EligibleForSeverance>
<b:EmployeeIdentifier i:type="b:EmployeeNumberIdentifier">
<b:CompanyCode>C0014</b:CompanyCode>
<b:EmployeeNumber>004446049</b:EmployeeNumber>
</b:EmployeeIdentifier>
<b:HomeCompanyIdentifier i:type="b:CompanyCodeIdentifier">
<b:CompanyCode>C0014</b:CompanyCode>
</b:HomeCompanyIdentifier>
<b:InactivateAutopay>false</b:InactivateAutopay>
<b:InactivateDirectDeposit>false</b:InactivateDirectDeposit>
<b:LastDayWorked>0001-01-01T00:00:00</b:LastDayWorked>
<b:Notes i:nil="true" />
<b:PaidThroughDate>0001-01-01T00:00:00</b:PaidThroughDate>
<b:RoeIssueReason i:nil="true" />
<b:TerminationDate>0001-01-01T00:00:00</b:TerminationDate>
<b:TerminationReason i:nil="true" />
</b:Termination> I'm also seeing XML referenced in the connector source code as well
How do I get Workato to format the payload correctly in that case?