Skip to content

Getting 400 error code without specific detail in getInfo Api #551

Description

@slice-mohit

I'm getting this error:
DetailedApiRequestError (DetailedApiRequestError(status: 400, message: No error details. HTTP status was: 400.))

when trying to find scopes granted to a user using this code:

    final oauth2Api = Oauth2Api(client);

    final tokenInfo = await oauth2Api.tokeninfo();

    final grantedScopes = tokenInfo.scope;

I verified that the client is not null and I'm fetching it using this package.

This error is very unpredictible and happens once in a while but it's breaking a major flow in our app. Please guide me what I'm doing wrong or how to debug it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions