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)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Sakthi, 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 Stack Overflow by Unknown author, 2 years 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 Brian McCullough, 5 months ago
Received Facebook error response of type OAuthException: Error validating access token: The session is invalid because the user logged out. (code 190, subcode 467)
via Google Groups by Leonardo Viragine, 10 months ago
Received Facebook error response of type OAuthException: An unknown error has occurred. (code 1, subcode null)
via GitHub by NickEckert
, 2 years ago
Received Facebook error response of type OAuthException: (#12) title requires version v2.5 or higher (code 12, subcode null)
via Google Groups by Basha, 1 year ago
Received Facebook error response of type OAuthException: Error validating application.
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)

Users with the same issue

Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.