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

1 vote
Accepted answer

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
Community showcase
Published Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

998 views 0 5
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