Nvoke Code does not accept values from Get Text when the selection box is large

The Invoke Code activity does not accept long text values retrieved from Get Text and sent to the Webhook.

The image shows a status message indicating 12,995 free messages sent out of 35,000, along with an error message stating "Exception has been thrown by the target of an invocation." (Captioned by AI)

If the text is short, it can be sent to the Webhook successfully—I have tested this. However, long text or text captured using Get Text, especially when the selection box is large, fails to send.

@thawatchain,

Check if that special character “/” making this issue. Also try increasing the length it’s accepting and what’s the breaking point.

Also try removing that new line from you variable.

2 Likes

@thawatchain

i think it is not problem about the length of the text check any other special characters are getting if any try to remove those.

1 Like

@thawatchain

if you got solution please mark post as solution to close this topic.

or if you any open questions on this post your queries.

Thanks,
Happy Automation!!

1 Like

The solution is to use OCR instead of Gettext. Thanks for the help.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.