Hi Sabari A,
Could you please first try to refresh your extract in the workbook?
Let me know how it goes
I tried refreshing the extracts and I am still getting the same error. The problem here is some workbooks get published when I run the same code for the second time but this time a different set of workbooks gets failed to publish.