# Invalid data while decoding

**URL:** <https://forum.uipath.com/t/invalid-data-while-decoding/518107>\
**Category:** Studio\
**Tags:** help, uipath, studio\
**Created:** [February 17, 2023, 6:45am UTC](https://forum.uipath.com/t/invalid-data-while-decoding/518107 "2023-02-17T06:45:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hardiksinhgohil97](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/hardiksinhgohil97/32/377805_2.png) [@hardiksinhgohil97](https://forum.uipath.com/u/hardiksinhgohil97)\
**Post date:** [February 17, 2023, 6:45am UTC](https://forum.uipath.com/t/invalid-data-while-decoding/518107/1 "2023-02-17T06:45:01Z")

</div>

I have getting trouble while making new project  
It’s showing that invalid data while decoding.  
I have tried many things like reinstall, give other location path for project but nothing is working  
Please help.

 ![IMG20230217120735](https://global.discourse-cdn.com/uipath/original/4X/0/1/9/0191b34f0a9b76121b563082d578f2ca981589c0.jpeg)

---

<div class="post-metadata">

**Author:** ![arjunshenoy](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/arjunshenoy/32/404588_2.png) [@arjunshenoy](https://forum.uipath.com/u/arjunshenoy)\
**Post date:** [February 17, 2023, 6:56am UTC](https://forum.uipath.com/t/invalid-data-while-decoding/518107/2 "2023-02-17T06:56:44Z")

</div>

Hi @hardiksinhgohil97, Welcome to the Community.

Keep a backup of the JSON file & try to clear the following folders:

%userprofile%\AppData\Local\UiPath.cache  
%userprofile%.nuget\packages

Also, refer to the following resource that might help you.  
[https://developercommunity.visualstudio.com/t/error-occurred-while-restoring-nuget-packages-foun/557810](https://developercommunity.visualstudio.com/t/error-occurred-while-restoring-nuget-packages-foun/557810)

Regards.

---

<div class="post-metadata">

**Author:** ![Sudharsan\_Ka](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/sudharsan_ka/32/459826_2.png) [@Sudharsan\_Ka](https://forum.uipath.com/u/Sudharsan_Ka)\
**Post date:** [February 17, 2023, 6:56am UTC](https://forum.uipath.com/t/invalid-data-while-decoding/518107/3 "2023-02-17T06:56:53Z")

</div>

HI @hardiksinhgohil97

Make the copy of the project file somewhere else and the  
in the copied folder Open that json file with notepad and delete all the data in that file and save it

after this open the xaml file

Regards  
Sudharsan

---

<div class="post-metadata">

**Author:** ![hardiksinhgohil97](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/hardiksinhgohil97/32/377805_2.png) [@hardiksinhgohil97](https://forum.uipath.com/u/hardiksinhgohil97)\
**Post date:** [February 17, 2023, 10:09am UTC](https://forum.uipath.com/t/invalid-data-while-decoding/518107/4 "2023-02-17T10:09:28Z")

</div>

Hello Sudarshan Thank you for the response  
But This also not working and showing that.  
What should i do now ?

 ![16766285147927695927927333444602](https://global.discourse-cdn.com/uipath/original/4X/c/0/a/c0a1e7fcf14d1d6b15075fc5037476aef9b52741.jpeg)

---

<div class="post-metadata">

**Author:** ![hardiksinhgohil97](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/hardiksinhgohil97/32/377805_2.png) [@hardiksinhgohil97](https://forum.uipath.com/u/hardiksinhgohil97)\
**Post date:** [February 18, 2023, 3:22am UTC](https://forum.uipath.com/t/invalid-data-while-decoding/518107/5 "2023-02-18T03:22:40Z")

</div>

Thank you for response  
But i don’t get it.
