Deserialize JSON & System.Text.RegularExpressions.Regex.Replace?

I’m getting the following “[ERROR] [UiPath.Studio.Shared.Logging.OutputLogger] [57] Deserialize JSON: Unexpected character encountered while parsing value: <. Path ‘’, line 0, position 0.”

I think the issue might be with the structure of this assign.

Value = System.Text.RegularExpressions.Regex.Replace(message.Body, “<[^>]*>”, “”)

Anyone see anything obviously wrong?

@DougGowans

I think you Jason String which you are trying to Deserialise is not in a correct format.
Please check it once.

Regards,
Mahesh

…bit more troubleshooting and I think it is this url for the google cloud natural language api. I am using this - seems to be correct but maybe it has changed or their is a regional variant… https://language.googleapis.com/v1/documents:annotateText ??

@DougGowans

I can’t able to open that link. Its showing the requested url is not found in this server. But the error is related Json Format.

Regards,
Mahesh

It works if you take v1 out of the URL - Bot is working… Thanks…!