You can check activities which require a datatable input/output since error message states string cannnot be conveted to datatable
Also, I don’t know wether this would work in a library but what we did when we faced something similar in a re framework was break down the flow in multiple temp xaml and check which xaml failed to compile