Page MenuHomePhabricator

Unhelpful "Request failed. Please try again later." error message when failing to create key
Open, LowPublic

Description

  1. Log into https://api.wikimedia.org/
  2. Go to https://api.wikimedia.org/wiki/Special:AppManagement
  3. Click Create key button.
  4. Fill in stuff and click Create.

Actual outcome:

  • Message Request failed. Please try again later. Which likely won't help.
  • In the console, I see that the POST https://meta.wikimedia.org/w/rest.php/oauth2/client is a HTTP 500 Internal Server Error.

Expected outcome:
A less vague error message which doesn't imply It's all dark magic here; maybe try your luck next time if you're brave enough.

Other information:
Firefox 110 with pretty restricted privacy settings

Event Timeline

apaskulin moved this task from Backlog to Tech debt on the API-Portal board.
apaskulin subscribed.

@Aklapper Did you end up trying again? Did the request go through?

It did not go through in Firefox when I tried again.
Then I tried in (non-restricted) Chromium and the request did not get through either it seems (though I did not get an error in the UI at all).

There is some ongoing work with OAuth problems, so the internal server error could be a fallout from T321160: Lcobucci\JWT\Signer\InvalidKeyProvided: Key cannot be empty

Please retry and report if the problems still exists or gets fixed. Thanks.

In any case the task is valid IMO: if there is an internal error, the message should clearly indicate that.

Please retry and report if the problems still exists or gets fixed. Thanks.

It doesn't matter, as that's not what this ticket is about. :)