Cannot serialize the DataTable. DataTable name is not set (Action Center)


I was facing datatable name is not set issue but i checked there is no unused variables or someone is saying we need to take Assign activity as DT.TableName = “Our DT Name”

But where i need to put this under read range activity…? I tried that its showing same error.(i was using Action center forms in my project)

Attached snapshot for reference


Hi @Rishik_Chowdary,

Have you had a chance to look at other threads about this?

Since it is mentioned that there may be many reasons for this error, it may help to determine it first.


1 Like

Thanks :slightly_smiling_face:

Seen All the things @muhammedyuzuak … but i havent find the solution yet.

After read range / or the creation of the datatable place an assign activity

YourDataTableVar.TableName = “YourTableName”

Any solutions? the above did not work

Hi @Rishik_Chowdary

I’m also facing the same issue. Have you got the solution.
If Yes, please try to share with us.

Thanks & Regards,


To set the DataTable name when using the Read Range activity in UiPath, you can set it directly in the activity’s properties. There’s no need for a separate Assign activity. In the Read Range activity’s properties, you can find a field called Table Name where you can specify the name of your DataTable.


ReadRangeActivity.SheetName = "YourSheetName"
ReadRangeActivity.TableName = "YourTableName"