# Execute Python Script Error - UnicodeDecodeError

**URL:** <https://community.automationedge.com/t/execute-python-script-error-unicodedecodeerror/10342>\
**Category:** Get Help & Discuss\
**Tags:** rpa, generic\
**Created:** [August 2, 2023, 7:35am UTC](https://community.automationedge.com/t/execute-python-script-error-unicodedecodeerror/10342 "2023-08-02T07:35:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zhang\_Wei](https://avatars.discourse-cdn.com/v4/letter/z/838e76/32.png) [@Zhang\_Wei](https://community.automationedge.com/u/Zhang_Wei)\
**Post date:** [August 2, 2023, 7:35am UTC](https://community.automationedge.com/t/execute-python-script-error-unicodedecodeerror/10342/1 "2023-08-02T07:35:09Z")

</div>

Hi!

While executing the Python Script using Execute Python Script plugin, we get the below error as:

UnicodeDecodeError’: utf-8 code can’t decode byte 0xa4 in position 14 : invalid start byte.

[[https://support.automationedge.com/galleryDocuments/edbsnde7cfd99ca9e99b02562b12b877fe55db491724c7f2b844631d232708879add51cebd81e07c21786c3fd190ad7ab2a6ae596d73d9828de4ad2adcc40124fa2ff?inline=true](https://support.automationedge.com/galleryDocuments/edbsnde7cfd99ca9e99b02562b12b877fe55db491724c7f2b844631d232708879add51cebd81e07c21786c3fd190ad7ab2a6ae596d73d9828de4ad2adcc40124fa2ff?inline=true)]

We get the error when an incorrect file is provided as an input for a specific object/function.  
e.g Say if a Json file is expected as an input for a particular object/function and if we give excel file path, we get the above error.

​

---

<div class="post-metadata">

**Author:** ![swati.shire](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@swati.shire](https://community.automationedge.com/u/swati.shire)\
**Post date:** [August 2, 2023, 7:37am UTC](https://community.automationedge.com/t/execute-python-script-error-unicodedecodeerror/10342/2 "2023-08-02T07:37:27Z")

</div>

Hi!

Please mention the correct path in plugin or parameter to resolve this issue.
