# Confluence.saveMacro fails for specific users

**URL:** <https://community.developer.atlassian.com/t/confluence-savemacro-fails-for-specific-users/9947>\
**Category:** Confluence Cloud\
**Tags:** macro, confluence-cloud, atlassian-connect\
**Created:** [October 14, 2017, 12:05am UTC](https://community.developer.atlassian.com/t/confluence-savemacro-fails-for-specific-users/9947 "2017-10-14T00:05:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon30015179](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@anon30015179](https://community.developer.atlassian.com/u/anon30015179)\
**Post date:** [October 14, 2017, 12:05am UTC](https://community.developer.atlassian.com/t/confluence-savemacro-fails-for-specific-users/9947/1 "2017-10-14T00:05:12Z")

</div>

In the last 24 hours we have a number of reports of the confluence.saveMacro call we make in [draw.io](http://draw.io) (to update the revision of the attachment being shown) failing for specific users. You can find reports [here](https://community.atlassian.com/t5/Confluence-questions/Draw-io-long-loading-and-stopped-to-save-our-diagrams/qaq-p/654870) and [here](https://community.atlassian.com/t5/Confluence-questions/Draw-io-not-showing-latest-diagram-version-in-Confluence-page/qaq-p/654771). We also have a number of direct reports filed with us.

A gist of the try/catch around the saveMacro call is at [https://gist.github.com/davidjgraph/30fbeaa86838071f67dec75597ab2a11](https://gist.github.com/davidjgraph/30fbeaa86838071f67dec75597ab2a11). Questions:

- Is there is a known issue with calls saveMacro affecting specific users?
- Does the saveMacro call fire an exception if it fails?

Would it be possible to get a ticket on the Confluence Cloud project (I don’t have assign rights, it tells me) please?

I’m hoping one of our reporters might allow Atlassian to debug on their instance.

---

<div class="post-metadata">

**Author:** ![anon30015179](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@anon30015179](https://community.developer.atlassian.com/u/anon30015179)\
**Post date:** [October 16, 2017, 2:02pm UTC](https://community.developer.atlassian.com/t/confluence-savemacro-fails-for-specific-users/9947/2 "2017-10-16T14:02:36Z")

</div>

We have it happening on our test instance from today. Here is the stack trace.

 ![](https://global.discourse-cdn.com/atlassiandeveloper/original/3X/f/7/f7f56814bf3367fe5dbd00ca075eb2f4c8f62c87.png)

---

<div class="post-metadata">

**Author:** ![rmassaioli](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/rmassaioli/32/35834_2.png) [@rmassaioli](https://community.developer.atlassian.com/u/rmassaioli)\
**Post date:** [October 18, 2017, 1:08am UTC](https://community.developer.atlassian.com/t/confluence-savemacro-fails-for-specific-users/9947/3 "2017-10-18T01:08:06Z")

</div>

There is a public issue for this here: [[CONFCLOUD-57879] Balsamiq mockups failed to load with 404 error - retrieval of attachment descriptor fails - Create and track feature requests for Atlassian products.](https://jira.atlassian.com/browse/CONFCLOUD-57879)

---

<div class="post-metadata">

**Author:** ![anon30015179](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@anon30015179](https://community.developer.atlassian.com/u/anon30015179)\
**Post date:** [October 18, 2017, 6:22am UTC](https://community.developer.atlassian.com/t/confluence-savemacro-fails-for-specific-users/9947/4 "2017-10-18T06:22:35Z")

</div>

I suspect that is a different issue, the trace is different. We also hit that and had to pop up a dialog telling users they can’t insert diagrams in draft pages. [[ACJS-786] - Ecosystem Jira](https://ecosystem.atlassian.net/browse/ACJS-786) is our issue. We had 20+ reports within 24 hours with the saveMacro trace. We’ve switched off all revision handling as a workaround. But in our PlantUML plugin it completely breaks basic functionality.
