Hi all, having an issue on update sharepoint where this error occurs : OpenApiOperationParameterTypeConversionFailed. The 'inputs.parameters' of workflow operation 'Update_item' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/DateRetired' is required to be of type 'String/date'. The runtime value '""' to be converted doesn't have the expected format 'String/date'.
now ive done the usual formula but it isnt working -
if(empty(item()?['Installed Date']),null, item()?['Installed Date'])
i have two columns throwing the error - installed date and retired date , currently changed them to text fields in sharepoint to get it working but not ideal
and tried other variations including a compose action and looked on here , but null doesnt seem to work regardless

i basically copied a flow by reza : https://www.youtube.com/watch?v=uEZI_b1Gs-k
UPDATE: ok it seems to have fixed itself by me doing the following - switch to new designer, change the sharepoint column from date to single line of text , then change it back to date and then this formula has worked ( it didnt previously ) :
if(equals(item()?['Date Retired'],''),null,item()?['Date Retired'])