Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the possible causes for Facebook's "Error validating application"?

My application uses Facebook's Graph API to pull user's information via /me, /wall, and so forth.

Sometimes users run into the error:

    "error": {
        "message": "Error validating application.", 
        "type": "OAuthException", 
        "code": 190
    }

I can't find any reasons why this might be triggered as:

  • Access token is valid, never-expires, and is associated to my application.
  • I got the permissions to do the API calls
  • API calls works fine afterward

In this condition, what might cause this?

like image 246
Jason Avatar asked Nov 13 '22 09:11

Jason


1 Answers

Assuming you're receiving this error only for a small percentage of requests, you shouldn't need to do anything - the error happens when the provided access token is being checked for validity and the app's details can't be verified - usually an intermittent problem affecting only a tiny percentage of requests (unless you're forgetting to include the app ID in your SDK initialisation, in which case check that first)

like image 164
Igy Avatar answered Feb 17 '23 11:02

Igy