Expo-Sentry sourcemaps upload fail: Error 413 Entity Too Large

Hi all!

I setup sentry from expo to log exception and crash. Seems to work, but I tried to setup the sentry-expo/upload-sourcemaps in the app.json

  1. We are hosting our sentry and there was no documentation about given our url (because expo set the default one as expo.io/ :stuck_out_tongue: )
  2. It cannot upload the sources map, giving the error 403 Entity Too Large
// app.json
  "hooks": {
      "postPublish": [
        {
          "file": "sentry-expo/upload-sourcemaps",
          "config": {
            "organization": "sentry",
            "project": "vibestar-app",
            "authToken": "MY_AUTH_TOKEN",
            "url": "MY_SENTRY_URL"
          }
        }
      ]
    } 

I’m pretty sur it’s because expo/react-native app are quite heavy in general, because of the node_modules and other reasons.

Is there a way to fix this issue? Like with a setting in the hook or something?
Thanks!

Nvm. The issue was from our sentry setup!