Skip to content

Bot invites encounter "Invalid scope" on Android devices #7972

@SeraphimRP

Description

@SeraphimRP

Description

Bit of a convoluted one, talked with @advaith1 in the Discord Developers server before coming here.

If you invite a bot with the both bot and applications.commands scopes from a browser on Android, the page redirects to the app which returns a message saying "Invalid scope: bot+applications.commands."

The issue does not appear if +applications.commands is removed from the invite URL.

This issue also does not appear if the link is clicked from within Discord.

Steps to Reproduce

  1. Open "https://discord.com/oauth2/authorize?client_id=361033318273384449&scope=bot+applications.commands&permissions=277562616896" (my bot's link) in a browser.
  2. Page opens the app for inviting
  3. Error

Expected Behavior

The invite view should appear.

Current Behavior

Client is confused by scopes.

Screenshots/Videos

Image Image

Client and System Information

Browser: tested on Brave, Chrome Beta, and Firefox
Android app version: 303.10 (30301000315782) - googleRelease
Device: Pixel 9 Pro XL running Android 16 beta

Others tested with i{Pad}OS devices without problems, a user who reported this issue to me noted that it worked on their Android tablet with the same app version and browser (which I'm unsure what they used here).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions