SearchScript API fails having "&" as part of the script name

Hello
Using the firstock_SearchScrips(“M&M”), returns with ‘Invalid Input : jData is not valid json object’

This error is consistent with other script like L&TFH, where & character is part of the name.

Is there a fix available ?

Hi Kumar_K,

Thank you for informing us about this issue. We are currently investigating the problem and will provide a solution as soon as possible.

Hi Kumar_K,

Subject: Resolving Issue with firstock_SearchScrips(“M&M”)

We appreciate your patience regarding the issue you encountered while using the firstock_SearchScrips("M&M") function. We are pleased to inform you that we have successfully resolved the problem.

The error message you received, “Invalid Input: jData is not a valid JSON object,” was due to an issue with the input provided. To ensure smooth functionality, please refer to the documentation on Exceptions and Errors for ASCII encoding reference. Additionally, I have included a sample reference below:

Thank you for your patience.

thanks for the solution.
This solution is acceptable if using an Http URL request.
Using a Python function, such encoding should be taken care within API function, than expecting developer to encode names.

Please modify the python funtion to accept plain names without using encoding