Build Failing for assembleRelease: Invalid api key #195

i’m currently trying to assembleRelease without luck.

Processing react-native sourcemaps for Sentry upload.
> Analyzing 2 sources
> Rewriting sources
> Adding source map references
error: http error: Invalid api key (401)
:app:bundleReleaseJsAndAssets FAILED

sentry.properties

defaults.url=https://sentry.io/api/ID/csp-report/?sentry_key=KEY (gotten from client keys.CSP endpoint)
defaults.org=c2g-consulting
defaults.project=td-mobilesfa
auth.token=[token permissions = project:releases]
cli.executable=/home/seunlanlege/Projects/td-mobile/sfa/node_modules/sentry-cli-binary/bin/sentry-cli

any help would be appreciated, sentry is not letting me build the app and i would like to build a release variant for Q/A testing. They’re bugging me.

1 Like