discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

"Cannot have install fields on a private application." Unclear error message, needs re-wording.

Open troubled-pasta opened this issue 1 year ago • 1 comments

Description

When trying to turn off the 'Public Bot' toggle in the developer portal for a bot, this error message is displayed:

"Cannot have install fields on a private application."

The actual error is that the bot cannot be private unless the OAuth2 Default Authorization Link is set to 'None'. The current error message is not sufficiently clear enough to diagnose the problem and I was forced to find the solution through a Reddit post.

Please consider revising the error message to "Bot cannot be set to private with current Default Authorisation Link settings." or something similar.

Please also consider revising the location of the error message and move the error message to appear near the associated toggle the error is for in accordance with relevant UX design heuristics.

Steps to Reproduce

Create a new bot through the application portal or edit an existing one Set Default Authorisation Link Authorisation Method (under OAuth2) to 'In-App Authorisation' Attempt to uncheck the 'Public Bot' toggle (under Bot) Scroll up to encounter error message

Expected Behavior

When unchecking the 'Public Bot' toggle I expect it to set the bot to private. Failing that, I expect the subsequent error to correctly outline the issue in a manner that follows UX design heuristics, that allows me to quickly diagnose and correct the error without the help of a third party.

Current Behavior

The current error message is displayed at the top of the page (in the same area as the success dialogues), and displays an error message that is not clear to the end user and requires the assistance of a third party to correctly diagnose.

Screenshots/Videos

No response

Client and System Information

Browser: Firefox OS: Windows 10

troubled-pasta avatar Aug 07 '22 09:08 troubled-pasta

Aforementioned Reddit thread with the solution is here: https://www.reddit.com/r/discordapp/comments/txqprv/error_trying_to_make_my_bot_private/

troubled-pasta avatar Aug 07 '22 09:08 troubled-pasta

My god i wrote the nodejs but the Discord Developer UI is so infuriating and disfunctional it's unbelievable! Is ask God "what is your logic?!" I ask the Discord UI developers "what is you logic?!"

Janevski avatar Dec 17 '22 21:12 Janevski

My god i wrote the nodejs but the Discord Developer UI is so infuriating and disfunctional it's unbelievable! Is ask God "what is your logic?!" I ask the Discord UI developers "what is you logic?!"

It sounds like they haven't got an experience designer on the team if that's the kind of pain points a user like yourself is experiencing. Your experience should be designed better, I'm sorry that they haven't done so.

troubled-pasta avatar Dec 17 '22 22:12 troubled-pasta