# Bad response when Editing comment 7566463 - 400

**URL:** <https://community.exalate.com/t/bad-response-when-editing-comment-7566463-400/4459>\
**Category:** General Questions\
**Tags:** onpremise-jira, usecase, migrated\_question\
**Created:** [November 4, 2024, 6:59am UTC](https://community.exalate.com/t/bad-response-when-editing-comment-7566463-400/4459 "2024-11-04T06:59:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 6:59am UTC](https://community.exalate.com/t/bad-response-when-editing-comment-7566463-400/4459/1 "2024-11-04T06:59:05Z")

</div>

_Originally asked by Joanna Kwiatek Tokarz on 17 November 2020 [(original question)](https://oldcommunity.exalate.com/questions/20121947)_

* * *

Hi All,

I received the following error:

Bad response when Editing comment 7566463 - 400 - response body: VS403664: Unable to update the comment 7566463, you must be a creator of the comment to update it.

Is it related to tool configuration itself or is it Exalate restriction?

* * *

---

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 6:59am UTC](https://community.exalate.com/t/bad-response-when-editing-comment-7566463-400/4459/2 "2024-11-04T06:59:07Z")

</div>

_Answer by Joanna Kwiatek Tokarz on 19 November 2020_

We don’t have issue.comments = commentHelper.mergeComments(issue, replica) in our code segment.

But we have --\> workItem.comments = commentHelper.mergeComments(issue, replica)

Can you please get the confirmation if we can do same for workItem.comments to solve the issue.

* * *

---

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 6:59am UTC](https://community.exalate.com/t/bad-response-when-editing-comment-7566463-400/4459/3 "2024-11-04T06:59:07Z")

</div>

_Answer by Juan Grases on 17 November 2020_

Hi, one way to avoid this error is not using on your azure incoming script:

```auto
issue.comments = commentHelper.mergeComments(issue, replica)

```

but instead use:

```auto
issue.comments += replica.addedComments

```

* * *

#### Comments:

> **Joanna Kwiatek Tokarz commented on 18 November 2020**
>
> > We don’t have issue.comments = commentHelper.mergeComments(issue, replica) in our code segment.
> 
> But we have --\> workItem.comments = commentHelper.mergeComments(issue, replica)
> 
> Can you please get the confirmation if we can do the same for workItem.comments to solve the issue.

---

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 6:59am UTC](https://community.exalate.com/t/bad-response-when-editing-comment-7566463-400/4459/4 "2024-11-04T06:59:08Z")

</div>

_Answer by Samuel Bartolome on 17 November 2020_

It looks to me a permissions issues in your Jira instance(s), _Add Comment_

* * *
