Error 413 - How can i split my assets files on build

I’m trying to make a build of my app running expo build:android, but i’m receiving an 413 HTTP Code for payload too large. How can i split the upload of the assets of my project to generate my build?

hi there! you can host the entire app on your own server if you like (https://docs.expo.io/distribution/hosting-your-app/), or you can upload some of the larger assets to a static file host (eg: s3) and switch to using remote urls rather than require('./whatever.png') in your app in those places. some other suggestions are available in this WIP docs page: https://github.com/expo/expo/pull/8955

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