web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Copying comments from ...
Power Automate
Unanswered

Copying comments from one DevOps workitem to another fails when a person is mentioned in that comment

(1) ShareShare
ReportReport
Posted on by 35

Hi all,

 

We're building a few flows which sync workitems from one Azure DevOps project to another.

Also comments on a certain workitem should automatically be posted under the corresponding workitem. This has been working fine using the 'Send an HTTP request to Azure DevOps' action, until we were trying to mention/tag people in a comment.

For an unknown reason, this action keeps on throwing a 400 BadRequest error whenever we try to mention someone in a comment.

 

The error message itself is not very clear:

 

{
  "status"400,
  "message""TF400898: An Internal Error Occurred. Activity Id: d0824e80-e606-4b66-868f-cd2610ec8139.\r\nAzure DevOps ActivityId: d0824e80-e606-4b66-868f-cd2610ec8139\r\nDetails: {\"$id\":\"1\",\"innerException\":null,\"message\":\"TF400898: An Internal Error Occurred. Activity Id: d0824e80-e606-4b66-868f-cd2610ec8139.\",\"typeName\":\"Newtonsoft.Json.JsonReaderException, Newtonsoft.Json\",\"typeKey\":\"JsonReaderException\",\"errorCode\":0,\"eventId\":0}\r\nclientRequestId: d22987e9-b16b-409c-b2f8-064985951faf",
  "error": {
    "message""TF400898: An Internal Error Occurred. Activity Id: d0824e80-e606-4b66-868f-cd2610ec8139.\r\nAzure DevOps ActivityId: d0824e80-e606-4b66-868f-cd2610ec8139\r\nDetails: {\"$id\":\"1\",\"innerException\":null,\"message\":\"TF400898: An Internal Error Occurred. Activity Id: d0824e80-e606-4b66-868f-cd2610ec8139.\",\"typeName\":\"Newtonsoft.Json.JsonReaderException, Newtonsoft.Json\",\"typeKey\":\"JsonReaderException\",\"errorCode\":0,\"eventId\":0}"
  },
  "source""vsts-we.azconn-we-002.p.azurewebsites.net"
}

 

This is the body of our comment:

 

{

"text": "<div><a href="#" data-vss-mention="version:2.0,[userid]">[name of mentioned user]</a> </div>"

}

 

I've got the impression that Power Automate can't properly read this html text and convert it into a comment..

 

Any ideas how to solve this?

Thx!

 

Categories:
I have the same question (0)
  • JN-02062227-0 Profile Picture
    7 on at
    I get the same issue when the comment contains a URL or any kind of folder mapping "Folder_a/Folder_b/somedoc.txt"   I also get this same error when just creating a comment with "Send an HTTP request to Azure DevOps"  that contains a URL or a / in it  that comes in as a variable or a dynamic pram.   Typed text seems to work.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 248 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 160 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 142 Super User 2026 Season 2

Last 30 days Overall leaderboard