# Permission error when syncing between two instances. Proxy User has permissions

**URL:** <https://community.exalate.com/t/permission-error-when-syncing-between-two-instances-proxy-user-has-permissions/4186>\
**Category:** General Questions\
**Tags:** onpremise-jira, error, migrated\_question\
**Created:** [November 4, 2024, 6:37am UTC](https://community.exalate.com/t/permission-error-when-syncing-between-two-instances-proxy-user-has-permissions/4186 "2024-11-04T06:37:17Z")\
**Posts on this page:** 3\
**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:37am UTC](https://community.exalate.com/t/permission-error-when-syncing-between-two-instances-proxy-user-has-permissions/4186/1 "2024-11-04T06:37:17Z")

</div>

_Originally asked by André Leroy-Beaulieu Castro on 27 March 2020 [(original question)](https://oldcommunity.exalate.com/questions/11338779)_

* * *

Error:

```auto
com.exalate.api.node.exception.IssueNotEditableException: Issue TEST-123 cannot be updated by user exalateuser. Please check permissions.

```

This occurs even if the proxy user has all the necessary permissions. What could be the cause?

Thanks,

* * *

---

<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:37am UTC](https://community.exalate.com/t/permission-error-when-syncing-between-two-instances-proxy-user-has-permissions/4186/2 "2024-11-04T06:37:18Z")

</div>

_Answer by Juan Grases on 27 March 2020_

This message indicates that Exalate couldn’t update the issue. This might be due permission problems but more often is about the issue being in a status (like closed) that doesn’t allow to update the issue (only add comments). From the incoming script, you can avoid this error by doing:

```auto
//Incoming sync, place this on the top of your script

if(!firstSync && nodeHelper.isIssueEditable(issue)) {
	issue.comments = commentHelper.mergeComments(issue,replica)
	return;
}

```

* * *

---

<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 6, 2024, 6:37am UTC](https://community.exalate.com/t/permission-error-when-syncing-between-two-instances-proxy-user-has-permissions/4186/3 "2024-11-06T06:37:25Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
