sentry-expo plugin not working

managed workflow
eas-cli/0.41.1 darwin-arm64 node-v16.13.0

I am trying to set up the sentry-expo plugin to upload sourcemaps to Sentry. My eas builds keep failing with not-very-helpful error messages.

The authToken I am using has the following permissions, which include all the required ones in the documentation: event:admin, event:read, member:read, org:read, project:read, project:releases, team:read, project:write

Any suggestions?

Here is the Android build failure (Log In — Expo):

> Task :app:bundleReleaseJsAndAssets
warning: the transform cache was reset.
                    Welcome to Metro!
              Fast - Scalable - Integrated
info Writing bundle output to:, /root/workingdir/build/mobile/android/app/build/generated/assets/react/release/index.android.bundle
info Writing sourcemap output to:, /root/workingdir/build/mobile/android/app/build/generated/sourcemaps/react/release/index.android.bundle.map
info Done writing bundle output
info Done writing sourcemap output
info Copying 360 asset files
info Done copying assets
> Task :app:bundleReleaseJsAndAssets_SentryUpload_2034803 FAILED
> Task :app:bundleReleaseJsAndAssets_SentryUploadCleanUp SKIPPED
[stderr] FAILURE: Build failed with an exception.
[stderr] * What went wrong:
[stderr] Execution failed for task ':app:bundleReleaseJsAndAssets_SentryUpload_2034803'.
[stderr] > A problem occurred starting process 'command '/root/workingdir/build/mobile/node_modules/@sentry/cli/bin/sentry-cli''
[stderr] * Try:
[stderr] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[stderr] * Get more help at https://help.gradle.org
[stderr] BUILD FAILED in 7m 38s

Here is the iOS build failure (Log In — Expo):

› Compiling Gazelle » SplashScreen.storyboard
› Preparing Gazelle » Info.plist
› Executing Gazelle » Bundle React Native code and images

❌  error: No such file or directory (os error 2)

    the transform cache was reset.
› Generating debug Gazelle » Gazelle.app.dSYM
› Executing Gazelle » [CP] Copy Pods Resources
› Executing Gazelle » Upload Debug Symbols to Sentry
› Signing   Gazelle » Gazelle.app
› Creating  Gazelle » Gazelle.app
▸ ** ARCHIVE FAILED **
** ARCHIVE FAILED **
Exit status: 65
+-------------+-------------------------+
|           Build environment           |
+-------------+-------------------------+
| xcode_path  | /Applications/Xcode.app |
| gym_version | 2.185.1                 |
| sdk         | iPhoneOS15.0.sdk        |
+-------------+-------------------------+
Looks like fastlane ran into a build/archive error with your project
It's hard to tell what's causing the error, so we wrote some guides on how
to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
Before submitting an issue on GitHub, please follow the guide above and make
sure your project is set up correctly.
fastlane uses `xcodebuild` commands to generate your binary, you can see the
the full commands printed out in yellow in the above log.
Make sure to inspect the output above, as usually you'll find more error information there
[stderr] [!] Error building the application - see the log above

Here is my app.config.js:

    plugins: ["sentry-expo"],
    hooks: {
      postPublish: [
        {
          file: "sentry-expo/upload-sourcemaps",
          config: {
            organization: "gazelle-network",
            project: "mobile-v2",
            authToken: "<snip>"
          }
        }
      ]
    }

Have you a solution for this?