com.restfb.exception.FacebookOAuthException

Received Facebook error response of type OAuthException: An active access token must be used to query information about the current user. (code 2500, subcode null)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web57

  • via Stack Overflow by Unknown author, 1 year ago
    Received Facebook error response of type OAuthException: An active access token must be used to query information about the current user. (code 2500, subcode null)
  • via Google Groups by Sakthi, 9 months ago
    Received Facebook error response of type OAuthException: An active access token must be used to query information about the current user. (code 2500, subcode null)
  • via Google Groups by freak182, 2 weeks ago
    Received Facebook error response of type OAuthException: An active access token must be used to query information about the current user.
  • Stack trace

    • com.restfb.exception.FacebookOAuthException: Received Facebook error response of type OAuthException: An active access token must be used to query information about the current user. (code 2500, subcode null) at com.restfb.DefaultFacebookClient$DefaultGraphFacebookExceptionMapper.exceptionForTypeAndMessage(DefaultFacebookClient.java:1189) at com.restfb.DefaultFacebookClient.throwFacebookResponseStatusExceptionIfNecessary(DefaultFacebookClient.java:1104) at com.restfb.DefaultFacebookClient.makeRequestAndProcessResponse(DefaultFacebookClient.java:1038) at com.restfb.DefaultFacebookClient.makeRequest(DefaultFacebookClient.java:951) at com.restfb.DefaultFacebookClient.makeRequest(DefaultFacebookClient.java:914) at com.restfb.DefaultFacebookClient.fetchObject(DefaultFacebookClient.java:415) at com.restfb.example.GraphReaderExample.fetchObject(GraphReaderExample.java:101) at com.restfb.example.GraphReaderExample.runEverything(GraphReaderExample.java:83) at com.restfb.example.GraphReaderExample.main(GraphReaderExample.java:75)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 2 months ago
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    2 more bugmates