Error: Failed to set the 'innerHTML' property on 'Element'

Support
  • I am building a tool to scan news articles on various news websites and check if they contain keywords that I specify. However, I often encounter the following error message: [3240 - TypeError: Failed to set the 'innerHTML' property on 'Element': This document requires 'TrustedHTML' assignment.] in the JavaScript task responsible for checking whether the article content contains the specified keywords. Could you please guide me on how to fix this error?

  • @ptt-bds
    Could you provide more details please. Which sites is the problem with and what action? Perhaps you could attach a test project so I can replicate your problem?

  • 0 Votes
    2 Posts
    605 Views
  • How to set specific DNS server?

    Support
    0 Votes
    1 Posts
    548 Views
  • "Is Element Exists" Errors

    Support
    0 Votes
    12 Posts
    2719 Views
  • Problem with Failed URL

    Support
    0 Votes
    5 Posts
    1282 Views
  • 0 Votes
    5 Posts
    1387 Views