That is a common error we all do using unflatten from string... When using "Unflatten from String" the type input is not the typestring output from Get Control Value (or Flatten to String) but the actual typed wire from a control with the expected type. For example if the string is a flattened cluster, you wire that cluster type to the type input of Unflatten...