Getting, (#803) Some of the aliases you requested do not exist error
Solution 1
If that is an accurate representation of the error you're receiving, you're incorrectly appending the access token after a &
character instead of a ?
.
You need to use ?
for the start of the query string, and &
to separate the parameters inside the query string
e.g.
https://graph.facebook.com/124186682456_10151302011177457?access_token=ACCESS_TOKEN
Solution 2
Placement of access_token parameter immediately after ?
has nothing to do with issue...
It could be that your URL is littered with %20
or similar stuff.
I got this error when trying a test example from Facebook API documentation, at first I have read highest voted answer, but moving access_token
parameter immediately after ?
didn't work, I then inspected URL more closely and found some of encoded spaces %20
that were stuck to parameter fields
and some others, removing which fixed the issue.
try following URL (just replace access_token parameter with yours)
If it works look for problem in Facebook parameter names
Hope this saves you some time.
Admin
Updated on June 16, 2021Comments
-
Admin almost 3 years
When i am trying to get data from facebook using graph api, i am getting this error,
{"error": {"message":"(#803) Some of the aliases you requested do not exist: 124186682456_10151302011177457&access_token=REMOVED_ACCESS_TOKEN", "type":"OAuthException", "code":803}}
Can anyone help me in how to solve this problem.
Thanks in advance...
-
Mayank R Jain over 8 yearsIn my case, the error was : "message": "(#803) Some of the aliases you requested do not exist: 4oh4.php", and was due to not appending "act_" in front of the account number (parent_id='act_<AD_ACCOUNT_ID>'). You might want to check that.
-
j413254 over 3 yearsFYI, this has now been deprecated. { "error": { "message": "(#12) Place Search API is deprecated for third parties effective v8.0 is deprecated for versions v8.0 and higher", "type": "OAuthException", "code": 12, "fbtrace_id": "xxx" } }