You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"The requested scope is invalid, unknown or malformed" #596
I tried to log in on oldbytes.space and got a screen with "The requested scope is invalid, unknown or malformed".
Is that an issue of AndStatus, or that particular instance?
It appeared that my old Client registration hotfix for Mastodon stopped working, because Mastodon fixed this at its side. I had to adapt my code for that.
@asterismo I see that the app starts and logins normally on Android 8 emulator,
and I got the same exception as you see on Android 7 device.
Which Android version does your device have?
Well, i'm using a Sonim XP5800 which runs a proprietary version of Android 7.1. It is a non-touch device and AndStatus still pretty compatible with button/arrow use of the app. The fdroid version i mentioned, worked fine. These two versions you just provided did not.
I can only sideload the app with ADB, i only get that error, maybe you have increased the minSdkVersion for AndStatus. Is there any adb install --debig option i can try?
Activity
asterismo commentedon Nov 26, 2024
Me too
yvolk commentedon Dec 2, 2024
The issue with scopes is probably caused by some recent Mastodon changes.
I see some note in its docs: https://docs.joinmastodon.org/api/oauth-scopes/#oauth-scopes
New "profile" scope is mentioned there.
So we need to update AndStatus.
As a hotfix the "profile" scope could be added here: https://github.com/andstatus/andstatus/blob/master/app/src/main/kotlin/org/andstatus/app/net/http/HttpConnection.kt#L37
yvolk commentedon Dec 8, 2024
Thank you for report, @Rhialto and @asterismo.
I fixed this in v.62.00, see #456
It appeared that my old Client registration hotfix for Mastodon stopped working, because Mastodon fixed this at its side. I had to adapt my code for that.
asterismo commentedon Dec 8, 2024
Oh great, i'll test the new apk of AndStatus. Thank you very much.
asterismo commentedon Dec 8, 2024
I just tried the apk and it fails to install. The previous version i installed was org.andstatus.app_365.apk. Is there anythinfg different?
adb install AndStatus-62.00-release.apk
Performing Push Install
AndStatus-62.00-release.apk: 1 file pushed, 0 skipped. 4.9 MB/s (8927842 bytes in 1.745s)
pkg: /data/local/tmp/AndStatus-62.00-release.apk
Failure [INSTALL_FAILED_OLDER_SDK]
yvolk commentedon Dec 8, 2024
@asterismo I see that the app starts and logins normally on Android 8 emulator,
and I got the same exception as you see on Android 7 device.
Which Android version does your device have?
I slightly lowered version of https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 library, and now AndStatus starts on Android 7 (API 24). Please try the attached zipped apk
AndStatus-62.00-commons-lang3-15.zip
yvolk commentedon Dec 8, 2024
And another library fix, now it should work on Android 7.0
https://github.com/andstatus/andstatus/releases/download/62.01-beta/AndStatus-62.01-release.apk
asterismo commentedon Dec 8, 2024
Well, i'm using a Sonim XP5800 which runs a proprietary version of Android 7.1. It is a non-touch device and AndStatus still pretty compatible with button/arrow use of the app. The fdroid version i mentioned, worked fine. These two versions you just provided did not.
yvolk commentedon Dec 9, 2024
Could you post error messages here, maybe I could fix that also.
asterismo commentedon Dec 10, 2024
I can only sideload the app with ADB, i only get that error, maybe you have increased the minSdkVersion for AndStatus. Is there any adb install --debig option i can try?
yvolk commentedon Dec 11, 2024
I just tested adb install to Android 7.0 emulator, and it succeeded
Then I launched AndStatus on the emulator and successfully logged into mstdn.io Mastodon instance.
So I think that you need to update Android SDK on your computer!

Rhialto commentedon Dec 29, 2024
With the latest update I installed (where can I see the version?) it only got worse.
In the andstatus screen where I fill in the host name of the Mastodon server, I fill in "oldbytes.space" and press the button "LOG IN TO MASTODON".
Below the horizontal line below the input field, I then see
Latest error
Invalid OAuth scope.
I don't even get to the login page of the Mastodon instance.
yvolk commentedon Jan 1, 2025