Invalid request after trying to update ContentType column

I’m trying to update the Content Type of an item from Folder to Document Set using the Update List Item at Any Site action.
First, I create a dictonary with these values:

Then, get the action configured:

The workflow gets terminated, logging “Exception: Solicitação inválida.”, witch translates to “Invalid Request”.

Without changing the ContentType colunm, altering the propertie “HTML_x0020_File_x0020_Type” to “Sharepoint.DocumentSet” results in a URL error, clicking the folder doesn’t open the page correctly.

Please have a look at example below:

I suppose to change the Content Type you need to use ContentTypeId field.