Error while using Add comments API Request

%3CLINGO-SUB%20id%3D%22lingo-sub-2379764%22%20slang%3D%22en-US%22%3EError%20while%20using%20Add%20comments%20API%20Request%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2379764%22%20slang%3D%22en-US%22%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3ETried%26nbsp%3Bto%26nbsp%3Bcreate%26nbsp%3Ba%26nbsp%3Bnew%26nbsp%3Bcomment%26nbsp%3Bfor%26nbsp%3Bwork%26nbsp%3Bitem%26nbsp%3Bin%26nbsp%3BAzure%26nbsp%3Bdevops%26nbsp%3Bwith%26nbsp%3Bthe%26nbsp%3Bhelp%26nbsp%3Bof%26nbsp%3BAdd%26nbsp%3Bcomments%26nbsp%3BAPI%26nbsp%3Busing%20postman.%26nbsp%3BBut%20the%20request%20failed%20to%20create%20the%20comment%20and%20I%20end%20up%20with%20Error%20message.%20The%26nbsp%3Berror%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22TF400898%3A%26nbsp%3BAn%26nbsp%3BInternal%26nbsp%3BError%26nbsp%3BOccurred%22%3C%2FSPAN%3E%3CSPAN%3E.%26nbsp%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3CSTRONG%3EMethod%3A%3C%2FSTRONG%3E%20POST%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3CSTRONG%3EAPI%20%3A%3C%2FSTRONG%3E%26nbsp%3B%20%3CA%20href%3D%22https%3A%2F%2Fdev.azure.com%2Freachmany%2F32a924ed-af99-4659-88b0-d3e828b5d465%2F_apis%2Fwit%2FworkItems%2F4%2Fcomments%3Fapi-version%3D5.1-preview.3%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdev.azure.com%2Freachmany%2F32a924ed-af99-4659-88b0-d3e828b5d465%2F_apis%2Fwit%2FworkItems%2F4%2Fcomments%3Fapi-version%3D5.1-preview.3%3C%2FA%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSTRONG%3EHeader%20%3A%26nbsp%3B%3C%2FSTRONG%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EContent-Type%20%3A%26nbsp%3Bapplication%2Fjson-patch%2Bjson%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSTRONG%3Ebody%3A%3C%2FSTRONG%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3E%5B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22text%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22Hai%26nbsp%3Bfrom%26nbsp%3Bpriya%22%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%5D%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSTRONG%3EAuthorization%20%3A%3C%2FSTRONG%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EBasic%20Auth%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Eusername%20%3A%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Epassword%20%3Auxi5azhzg7wvvcgrr4b32q7tj2liocca4tejc3276wed73rqytyq%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSTRONG%3EERROR%20message%3A%3C%2FSTRONG%3E%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22%24id%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%221%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22innerException%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Enull%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22message%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22TF400898%3A%26nbsp%3BAn%26nbsp%3BInternal%26nbsp%3BError%26nbsp%3BOccurred.%26nbsp%3BActivity%26nbsp%3BId%3A%26nbsp%3B44b4cc77-b9a9-4b30-90d6-f2089b561846.%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22typeName%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22System.Web.Http.HttpResponseException%2C%26nbsp%3BSystem.Web.Http%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22typeKey%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22HttpResponseException%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22errorCode%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E0%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22eventId%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E0%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E
Occasional Visitor
Tried to create a new comment for work item in Azure devops with the help of Add comments API using postman. But the request failed to create the comment and I end up with Error message. The error "TF400898: An Internal Error Occurred"
 
Method: POST
Header : 
Content-Type : application/json-patch+json
body:
[
  {
    "text""Hai from priya"
  }
]
 
Authorization :
Basic Auth
username :
password :uxi5azhzg7wvvcgrr4b32q7tj2liocca4tejc3276wed73rqytyq
 
ERROR message:
{
    "$id""1",
    "innerException"null,
    "message""TF400898: An Internal Error Occurred. Activity Id: 44b4cc77-b9a9-4b30-90d6-f2089b561846.",
    "typeName""System.Web.Http.HttpResponseException, System.Web.Http",
    "typeKey""HttpResponseException",
    "errorCode"0,
    "eventId"0
}
0 Replies