twitchdev / issues

Issue tracker for third party developers.
Apache License 2.0
73 stars 6 forks source link

App Creation doesn't surface name errors - Cannot Create Application #831

Closed BarryCarlyon closed 6 months ago

BarryCarlyon commented 1 year ago

Brief description

Today a French user got stuck trying to create a new Application as the "name taken/invalid" error wasn't showing

They were just stuck in a loop thinking the captcha failed

Additional context or questions

https://discord.com/channels/504015559252377601/523675993823510548/1147133036991873094

BarryCarlyon commented 1 year ago

Additional additional context https://discord.com/channels/325552783787032576/326772207844065290/1147278035427541133

Seems that name errors will not show on the create UI but will on the edit existing UI

Xemdo commented 1 year ago

Confirming it's the second thing; Errors don't appear when creating a new application, only when editing an existing one. Seems to be irrelevant to language.

BarryCarlyon commented 1 year ago

Yeah it was just ironic the two reports were non english speakers. So my initial thouht was "missing translation"

rokn commented 1 year ago

I can confirm it was happening for me as well. Was blocked for a day trying to figure it out until I stumbled upon this issue

Xemdo commented 1 year ago

Ticketed internally as ASYNC-4026

thewbuk commented 9 months ago

Same issue here: creating a new app, not editing

guillian77 commented 8 months ago

Hi, I cannot create a new app too.

# https://gql.twitch.tv/gql - Payload
[
    {
        "operationName": "CreateOauthApp",
        "variables": {
            "input": {
                "name": "HomeAssistant",
                "redirectURIs": [
                    "https://my.home-assistant.io/redirect/oauth"
                ],
                "category": "APPLICATION_INTEGRATION",
                "categoryDescription": "",
                "groupID": "",
                "isPublic": true
            }
        },
        "extensions": {
            "persistedQuery": {
                "version": 1,
                "sha256Hash": "c3f856bc8b0aba229a9ad20f6ebb73d70e8f8ff12e66c0531c1b3099d2225646"
            }
        }
    }
]
# https://gql.twitch.tv/gql - Response
[
    {
        "errors": [
            {
                "message": "service error",
                "path": [
                    "createOauthApp"
                ]
            }
        ],
        "data": {
            "createOauthApp": null
        },
        "extensions": {
            "durationMilliseconds": 47,
            "operationName": "CreateOauthApp",
            "requestID": "01HQBSK270JXYWXR08FJE3R3VK"
        }
    }
]

Same problem on edit too.

BarryCarlyon commented 8 months ago

Homeassistant is likely already taken hence the issue

guillian77 commented 8 months ago

Homeassistant is likely already taken hence the issue

U're right, thanks 👍

jbulava commented 6 months ago

This issue should now be resolved.