Write Range error. DocumentFormat.OpenXml.Internal.SchemaValidation.SimpleTypeRestrictions cannot be cast to [B]DocumentFormat.OpenXml.Internal.SchemaValidation.SimpleTypeRestrictions

Hello,

I’m am trying to download a report from ACME to my local folder but this error keeps on prompting.

Here is the error for studio,

{
“message”: “Write range YearlyReport: [A]DocumentFormat.OpenXml.Internal.SchemaValidation.SimpleTypeRestrictions cannot be cast to [B]DocumentFormat.OpenXml.Internal.SchemaValidation.SimpleTypeRestrictions. Type A originates from ‘DocumentFormat.OpenXml, Version=2.5.5631.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ in the context ‘Default’ at location ‘C:\Program Files (x86)\UiPath\Studio\DocumentFormat.OpenXml.dll’. Type B originates from ‘DocumentFormat.OpenXml, Version=2.5.5631.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ in the context ‘LoadFrom’ at location ‘C:\Users\npi-administrator\.nuget\packages\documentformat.openxml\2.5.0\lib\DocumentFormat.OpenXml.dll’.”,
“level”: “Error”,
“logType”: “Default”,
“timeStamp”: “07:06:04”,
“processVersion”: “1.0.6492.24879”,
“jobId”: “f91dc3c1-196a-4234-b120-cf3efce2a379”,
“robotName”: “Kufra”,
“machineId”: 163768,
“fileName”: “System1_CreateYearlyReport”
}

Anyone have idea?

Been working on Level 3 Assignment 2 for days…

Please help me, thank you

Can you try restarting the studio @pasimon

Try to update activities in Project Dependencies. In one of my old project was the same error and it resolved by simple packages update to the latest versions