SVG upload in media library not working on Chrome

Hi there Prismic people,

Just a quick questions please. Is it correct that the media gallery does not support SVG file upload?

I understand processing it as an image does not work but just file upload and delivery via CDN also does not work?

When i try to upload an svg file this error pops up in the browser console. Screenshot included below.

Uncaught TypeError: Cannot read property 'uploads' of undefined
at Object.errors (main.js:329)
at Object. (main.js:334)
at j (jquery-2.1.0.min.js:2)
at Object.add [as fail] (jquery-2.1.0.min.js:2)
at u.preload (main.js:334)
at u.start (main.js:334)
at C (main.js:329)
at HTMLInputElement. (main.js:329)
at HTMLElement.dispatch (jquery-2.1.0.min.js:3)
at HTMLElement.$event.dispatch (drag-tools-2.2x.js:378)
at HTMLElement.r.handle (jquery-2.1.0.min.js:3)
(anonymous) @ main.js:329
(anonymous) @ main.js:334
j @ jquery-2.1.0.min.js:2
add @ jquery-2.1.0.min.js:2
preload @ main.js:334
start @ main.js:334
C @ main.js:329
(anonymous) @ main.js:329
dispatch @ jquery-2.1.0.min.js:3
$event.dispatch @ drag-tools-2.2x.js:378
r.handle @ jquery-2.1.0.min.js:3

Hey @ilie, welcome to the Community!

The upload and cdn delivery should work just fine. Could you please share with us the URL of your repository and the file that you're trying to upload so I can run a test on my end?


Hi Paulina,

Here is the link to the file - iCloud

And here is the repository name:

Thank you,

Hi Ilie,

Can you upload that image another way because I'm not able to access your icloud and so can't test this.