Android Sentry Release Build Invalid Token issue

Can someone help me with the below issue

  • I tried “ sentry-cli info”

Sentry Server:
Default Organization:
Default Project: HipBar

Authentication Info:
Method: Auth Token
User: Email Id
- event:admin
- event:read
- member:read
- org:read
- project:read
- project:releases
- project:write
- member:admin
- org:write
- org:admin
- team:admin
- team:write
- team:read
- project:admin:

But while generation release build

./gradlew assembleRelease --stacktrace I’m receiving the below error.

error: http error: Invalid token (401)
:app:persistSentryProguardUuidsForRelease FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:persistSentryProguardUuidsForRelease’.

Process ‘command ‘/var/folders/rs/k2_206_51s5f4vwf0fv_ty280000gn/T/.sentry-cli7997873077552114192.exe’’ finished with non-zero exit value 1

Hi, i am having the exact same issue. Did you ever resolve this?