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…