Hi @suman_sa ,
I noticed that in the operation 'Create HTML table' you used 'current item', this dynamic content is an object, which is the cause of the error.
If you want to create an html table, I suggest you put 'Create HTML table' outside ‘Apply to each’, or use brackets to turn 'object' into 'array'.
I made a sample for you:
Create a list in sharepoint.

Create an HTML table outside of 'Apply to each'.


The output is all filtered data.

Use brackets outside the current item

Only the current item is output.

The above two methods are selected according to your actual needs.
Best Regards,
Wearsky