Copy-Paste-Block error on Power Automate

Shrikant bomma 20 Reputation points
2023-08-23T12:10:12.31+00:00

Hi,

I created a flow on Automate, wherein when a new message is posted on teams channel, respective row must be updated in excel. This flow works well when a message is typed and posted, however when the user is copy and pasting the same message or string the flow throws up below error.

How can I overcome this error so that irrespective of the way the message is posted the row must be updated without any errors.

Error

<div>
<div itemprop="copy-paste-block"><span><span>4539922</span></span></div>
</div>

Flow Screenshot

User's image

User's image

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,894 questions
0 comments No comments
{count} votes

Accepted answer
  1. LiweiTian-MSFT 25,930 Reputation points Microsoft External Staff
    2023-08-24T02:45:40.6833333+00:00

    Hi @
    Shrikant bomma

    In order to avoid this error, I suggest you add an Html to text action in the flow. The problem might be due to the messages in Teams coming back to Flow as Html instead of plain text.

    I made a test for your reference:

    User's image


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.