-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug symbol upload for Android fails with Gradle (works with CLI, and on desktop (Windows) build) #666
Comments
The error message is "Invalid org token The error message comes from here: https://github.com/getsentry/sentry-cli/blob/6d0729dafaf0ce928fcb591f4c701a051c98ddf4/src/commands/login.rs#L76-L91 So does this mean Sentry rejected the token or the format of the token is invalid? (Or could be either?) |
I have "sentry.properties" in my project folder, but they were generated by Sentry Unreal pugin, when I set up token, project name, organization name in plugin engine settings. When I changed vales its regenerated in folder. The values the same like in plugin engine settings. After my builds on Android fails, i used senty CLI for uploading android debug symbols. And they saved my valid token somewhere in PC, when i first log in. But, after that, I tryied upload adnroid debug symbols automaticaly. and got error again. I do not see SENTRY_AUTH_TOKEN in enviroment vairables on my PC. |
@Rostislav98 Which UE plugin version do you have? How do you use Sentry - SaaS / self-hosted? It looks similar to #502. The Sentry Android Gradle plugin which's used in Unreal for symbol upload also had this issue (getsentry/sentry-android-gradle-plugin#694) so we've upgraded it recently to get a corresponding fix (#633) and make things work out of the box. It should be available starting from |
Updating plugin resolved the symbol upload issue. |
From Discord
OS: Windows
Build: Android build with Gradle
Sentry can`t automatically upload debug symbols for Android, but it automatically uploads symbols for Windows builds. The Android building process returns an error: Invalid org token (HTTP status 401). However, I can manually upload debug symbols for Android using the console sentry CLI. I used the same token for automatic Windows debug symbol upload and for manually uploading debug symbols for Android using the CLI.
I have added screenshots with errors, corrected upload debug symbols for Windows, and manually uploaded symbols for Android.
Task failed
uploadSentryProguardWMappingsRelease
The text was updated successfully, but these errors were encountered: