Revoke returns 400 if user previously has removed connection in twitch profile settings

Normal case.

  1. User authorize our app.
  2. When he want to unauthorize, we call revoke api method.
  3. Ok.

Another case.

  1. User authorize our app.
  2. He canceled connection via settings windows in twitch profile.
  3. Now, if we try to revoke his token via API, we will get 400 error. But according to doc

Malformed requests return 400 Bad Request

But, request is ok, cause it works for 1st case. It doesn’t work only if user manually cancel connection in twitch profile settings.

Is it a bug? Or, how should we handle this?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.