# Media/Create File broken after upgrade to v16

**URL:** <https://forum.umbraco.com/t/media-create-file-broken-after-upgrade-to-v16/5839>\
**Category:** Questions\
**Tags:** v16\
**Created:** [September 16, 2025, 8:41am UTC](https://forum.umbraco.com/t/media-create-file-broken-after-upgrade-to-v16/5839 "2025-09-16T08:41:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gavin5656](https://forum.umbraco.com/user_avatar/forum.umbraco.com/gavin5656/32/2726_2.png) [@Gavin5656](https://forum.umbraco.com/u/Gavin5656)\
**Post date:** [September 16, 2025, 8:41am UTC](https://forum.umbraco.com/t/media-create-file-broken-after-upgrade-to-v16/5839/1 "2025-09-16T08:41:05Z")

</div>

I have a site I’ve migrated from v13.9.2 up to v16.2.0 and everything appears to work ok apart from creating files under media. If I attempt to create a new File and save I get an error “Value cannot be null (Parameter ‘source’)“. Looking at the browser console it appears to throw this from `/umbraco/management/api/v1/media/validate`, and from the Umbraco logs/examining the source code it’s falling over in the `Umbraco.Infrastructure/PropertyEditors/FileUploadPropertyValueEditor.cs IsAllowedInDataTypeConfiguration` static method where it attempts to access `fileUploadConfiguration.FileExtensions.Any()`, so looks like the FileExtensions object is null where it shouldn’t be?

Although I am able to create images with no problem, it’s only the File option that is broken. I’m wondering if something is somehow missing database-side as a result of the upgrade? I’ve checked the Upload data type and there are no custom extensions configured there, everything is set as the defaults.

Wondering if anyone has experienced anything similar or could suggest anything I could check?

---

<div class="post-metadata">

**Author:** ![Luuk](https://forum.umbraco.com/user_avatar/forum.umbraco.com/luuk/32/4446_2.png) [@Luuk](https://forum.umbraco.com/u/Luuk)\
**Post date:** [September 16, 2025, 8:55am UTC](https://forum.umbraco.com/t/media-create-file-broken-after-upgrade-to-v16/5839/2 "2025-09-16T08:55:57Z")

</div>

Make sure you absolutely cleared your browser cache just to be sure.

---

<div class="post-metadata">

**Author:** ![Gavin5656](https://forum.umbraco.com/user_avatar/forum.umbraco.com/gavin5656/32/2726_2.png) [@Gavin5656](https://forum.umbraco.com/u/Gavin5656)\
**Post date:** [September 16, 2025, 8:57am UTC](https://forum.umbraco.com/t/media-create-file-broken-after-upgrade-to-v16/5839/3 "2025-09-16T08:57:24Z")

</div>

Tried Incognito browser window with same result.

---

<div class="post-metadata">

**Author:** ![Maud](https://forum.umbraco.com/user_avatar/forum.umbraco.com/maud/32/3170_2.png) [@Maud](https://forum.umbraco.com/u/Maud)\
**Post date:** [September 16, 2025, 9:04am UTC](https://forum.umbraco.com/t/media-create-file-broken-after-upgrade-to-v16/5839/4 "2025-09-16T09:04:43Z")

</div>

We also had this issue. Turns out after the upgrade the allowed file extensions for file upload were incorrect, so you should check those.  
After that we also had [this issue](https://forum.umbraco.com/t/umbraco-16-media-not-showing/5549), so might be worth checking that too.

---

<div class="post-metadata">

**Author:** ![Gavin5656](https://forum.umbraco.com/user_avatar/forum.umbraco.com/gavin5656/32/2726_2.png) [@Gavin5656](https://forum.umbraco.com/u/Gavin5656)\
**Post date:** [September 16, 2025, 9:52am UTC](https://forum.umbraco.com/t/media-create-file-broken-after-upgrade-to-v16/5839/5 "2025-09-16T09:52:07Z")

</div>

Hi Maud, thanks for your reply/help. When you say check file extensions do you mean in the upload datatype? The list in there is empty (and was on v13) so presumably it just uses the defaults?

 ![image](https://forum.umbraco.com/uploads/default/original/2X/9/94762f05a110f6e17fdf732e3f5f76a196cf4dc1.png)

---

<div class="post-metadata">

**Author:** ![Maud](https://forum.umbraco.com/user_avatar/forum.umbraco.com/maud/32/3170_2.png) [@Maud](https://forum.umbraco.com/u/Maud)\
**Post date:** [September 16, 2025, 10:34am UTC](https://forum.umbraco.com/t/media-create-file-broken-after-upgrade-to-v16/5839/6 "2025-09-16T10:34:32Z")

</div>

Empty list should indeed be okay, maybe check if you have other data types using this property editor, that accept other media but not files.

---

<div class="post-metadata">

**Author:** ![Gavin5656](https://forum.umbraco.com/user_avatar/forum.umbraco.com/gavin5656/32/2726_2.png) [@Gavin5656](https://forum.umbraco.com/u/Gavin5656)\
**Post date:** [September 16, 2025, 11:19am UTC](https://forum.umbraco.com/t/media-create-file-broken-after-upgrade-to-v16/5839/7 "2025-09-16T11:19:38Z")

</div>

Not entirely sure why I needed to but I’ve added pdf, docx and doc as valid extensions, saved and now it works. Also corrected the list views as per your other link, good spot. Thanks for your help.

---

<div class="post-metadata">

**Author:** ![system](https://forum.umbraco.com/uploads/default/original/1X/624adeddd330a3d0268a184db47946ca7e82c676.png) [@system](https://forum.umbraco.com/u/system)\
**Post date:** [October 16, 2025, 11:20am UTC](https://forum.umbraco.com/t/media-create-file-broken-after-upgrade-to-v16/5839/8 "2025-10-16T11:20:21Z")

</div>

Closed on October 16, 2025, 11:20am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
