Shopify CLI - (uploading large video) "Request Entity Too Large " theme serve sync/update ERROR

I’m developing a custom theme locally with Shopify CLI.

I’ve added a video to a page (video is in assets folder, is 230MB file size, and 13 minutes long - it’s not a product vide - its educational & not on a product page)

I when I run shopify theme serve, I get an error

18:09:56 ERROR » update assets/Video.mp4:> 413> > > > # 413 Request Entity Too Large>


nginx

What is the file size limit?
How can I fix this error?

Hi

I think the upload size limit is 20MB (as noted here -https://help.shopify.com/en/manual/shopify-admin/productivity-tools/file-uploads). I am assuming the same upload limit would apply to elsewhere in the shopify’s merchant admin tools.

You can try with a few incremental file-sizes to see where the upload fails. (you can also note the % upload after which the server returns the error to get an approximate upload length limit)

Note: There is also an open issue in Shopify. You can learn more about that here

https://community.shopify.com/topic/1634458