Why isn't the Media Macro able to find the audio file attached to the page?

Hi, there.

I'm trying to use the Media macro to embed an audio recording on a Confluence page and am getting the following error message:

Error rendering macro 'multimedia': com.atlassian.renderer.v2.macro.MacroException: Cannot find attachment 'filename.MP3'

The file is attached directly to the page. I thought that perhaps Confluence just wasn't recognizing that the file is there, so I tested it by creating a link to the attachment. The link works: it opens a new tab and the file plays (eventually).

Am I doing something wrong? What would cause the Media macro to be unable to find a file that is directly attached?


Sami Moran

1 answer

1 accepted

The multimedia macro seems to have trouble with spaces in a filename.

Removed the spaces in the file name, and this fixed it.

Thank you!

Any other ideas? Even with no spaces I still get an error. I can actually find the the media when i originally use the multimedia macro (if I use a !). However, once I go in and try to edit the macro to adjust size the file can no longer be found.

Even though it is clearly attached to the page.

For what it's worth, I'm having that same issue – that once I try to edit the macro for adjusting size, the file can no longer be found. Reverting to an earlier version of the page restored the macro's ability to display the file, but it's obviously not an ideal solution.

Removing the colon from the page title fixed the "cannot find attachment" nonsense, even though that bug (https://jira.atlassian.com/browse/CONF-37284) is supposedly fixed.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Goff-Dupont
Published 6 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

72 views 2 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you