Workday API's Invoke Operation throwing conversion errors

I’m trying to use the Workday API’s Invoke Operation for “Cancel_Pending_Supplier_Change”, but it’s throwing the following conversion errors:

Error Code: [Exception has been thrown by the target of an invocation.]
Message: There was an error in serializing one of the headers in message Cancel_Pending_Supplier_ChangeInput: 'Unable to generate a temporary class (result=1).
error CS0030: Cannot convert type ‘UiPath.Workday.Resource_Management.Company_Asset_Book_Restriction_Request_CriteriaType’ to ‘UiPath.Workday.Resource_Management.Company_Asset_Book_Restriction_Request_ReferencesType’
error CS0030: Cannot convert type ‘UiPath.Workday.Resource_Management.Asset_Book_Rule_Request_CriteriaType’ to ‘UiPath.Workday.Resource_Management.Asset_Book_Rule_Request_ReferencesType’
error CS0030: Cannot convert type ‘UiPath.Workday.Resource_Management.Asset_Shares_Request_CriteriaType’ to ‘UiPath.Workday.Resource_Management.Asset_Shares_Request_ReferenceType’
error CS0029: Cannot implicitly convert type ‘UiPath.Workday.Resource_Management.Company_Asset_Book_Restriction_Request_ReferencesType’ to ‘UiPath.Workday.Resource_Management.Company_Asset_Book_Restriction_Request_CriteriaType’
error CS0029: Cannot implicitly convert type ‘UiPath.Workday.Resource_Management.Asset_Book_Rule_Request_ReferencesType’ to ‘UiPath.Workday.Resource_Manage…’. Please see InnerException for more details."

What’s strange is that none of those elements listed in the error exist anywhere in the request. Has anyone seen this before? Any idea how to fix it? Really struggling every step of the way with this Workday API…

@klegson

Did you try the api woth postman …do you have success there?

Are you using same payload if yes?

According to error i see some parameter you are passing to api is wrong

Cheers

No, I haven’t done it in Postman, nor would it transfer to the UiPath activity package even if I did. The activity uses a wizard (example here) that should make it plug-and-play with the basic input parameters provided.