Uploading epub or mobi files (ebooks) via Media Library

Hi, I've created a download button in Prismic and trying to link it to an uploaded an epub file which I uploaded to the media library. However, after linking it and then clicking the button I get the error message: ‘Page not found! 404 page content!’.

Does anyone know a way around this? Or is it because Prismic doesn't support this file type? I've already investigated the main Prismic website, but it only mentions image file types that it supports and nothing about ebook file formats.

Can anyone help please? Thank you! Graham

Hi Graham,

Welcome to the community :slight_smile:

If you can upload the file, then Prismic supports it.

It sounds like you haven't configured your button HTML to download files, can you show me the code for your button?