Hi @pari_patel
download the file using the sharepoint download file activity and make sure to provide a valid local file path to save it properly .
once the file is saved locally, use the read range activity to read the file content and store it into a datatable variable
ensure that the file path and sheet name are correct and that the file is not corrupted.
after successfully converting the content to a datatable use the write range activity to write the data.
make sure you are not directly trying to convert the driveitem object into a datatable without reading its content first.
If you found helpful please mark as a solution. Thanks
Happy Automation with UiPath