UnicodeDecodeError: 'utf-8' code can't decode byte 0xa4 : invalid start byte

UnicodeDecodeError: 'utf-8' code can't decode byte 0xa4 : invalid start byte

Issue

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.



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.

How To Reproduce

To reproduce you can give an incorrect path i.e .xls file instead of .json,(if Json file is needed).

Resolution

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

      Links to better reach 

            Bot Store

             EPD