error publishing : Request body larger than maxBodyLength limit

Hi, I just started running into when trying to publish to a release channel, and I am not getting this error and Im not sure how to handle this ?

Building iOS bundle
Building Android bundle
Analyzing assets
Uploading assets
No assets changed, skipped.
Uploading JavaScript bundles
Request body larger than maxBodyLength limit

can someone show me how to avoid this issue, and how to debug this ?
I tried EXPO_DEBUG=true ,

Error: Request body larger than maxBodyLength limit

  • at RedirectableRequest.write (/opt/local/lib/node_modules/expo-cli/node_modules/axios/node_modules/follow-redirects/index.js:97:24)*
  • at RedirectableRequest.end (/opt/local/lib/node_modules/expo-cli/node_modules/axios/node_modules/follow-redirects/index.js:116:8)*
  • at dispatchHttpRequest (/opt/local/lib/node_modules/expo-cli/node_modules/axios/lib/adapters/http.js:272:11)*
  • at new Promise ()*
  • at httpAdapter (/opt/local/lib/node_modules/expo-cli/node_modules/axios/lib/adapters/http.js:20:10)*
  • at dispatchRequest (/opt/local/lib/node_modules/expo-cli/node_modules/axios/lib/core/dispatchRequest.js:59:10)*
  • at process._tickCallback (internal/process/next_tick.js:68:7)*

Expo CLI 3.13.2 environment info:
System:
OS: macOS 10.15.3
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 10.19.0 - /opt/local/bin/node
Yarn: 1.22.0 - ~/.yarn/bin/yarn
npm: 6.13.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /opt/local/bin/watchman
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.6010548
Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
npmPackages:
expo: ^34.0.1 => 34.0.4
react: 16.8.3 => 16.8.3
react-native: https://github.com/expo/react-native/archive/sdk-34.0.0.tar.gz => 0.59.8
react-navigation: ^1.5.11 => 1.6.1
npmGlobalPackages:
expo-cli: 3.13.2

get same problem for today after update expo cli to lastest verison

solve the problem by downgrade to to version 3.13.1

npm i -g expo-cli@3.13.1

1 Like

thanks for the info. i will try this…

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