Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Clement99
New Member

Encounter with Fb graph api error 803

Hi i am trying to use power bi to try out some facebook analytics, i have imported the page posts that i want but i am unabe to retrieve its comments , so i went to find out its app id, authen token and all the neccessary details to try and to retrieve the comments, the current solution in which i am stuck at; is to use a custom column (newly created column) to retieve the comments using the following code : =Source = Facebook.Graph("https://graph.facebook.com/[id]/comments?access_token=xxx")

 

the error in which i came across is as follows : 

DataSource.Error: Facebook: (#803) Some of the aliases you requested do not exist: [id]
Details:
DataSourceKind=Facebook
DataSourcePath=https://graph.facebook.com/
Detail=https://graph.facebook.com/[id]/comments?access_token=xxx;limit=1000

 

However, using the facebook graph explorer i have managed to type every single post id and it all shown comments! i am sure all the extracted post id are certainly correct, i have even tried converting the ID field to different data types to try but to no avail, i am not sure why is the algorithum unable to access the comments. Anyone has any ideal why? thanks in advance ! All solutions are welcomed!

1 REPLY 1
Eric_Zhang
Microsoft Employee
Microsoft Employee


@Clement99 wrote:

Hi i am trying to use power bi to try out some facebook analytics, i have imported the page posts that i want but i am unabe to retrieve its comments , so i went to find out its app id, authen token and all the neccessary details to try and to retrieve the comments, the current solution in which i am stuck at; is to use a custom column (newly created column) to retieve the comments using the following code : =Source = Facebook.Graph("https://graph.facebook.com/[id]/comments?access_token=xxx")

 

the error in which i came across is as follows : 

DataSource.Error: Facebook: (#803) Some of the aliases you requested do not exist: [id]
Details:
DataSourceKind=Facebook
DataSourcePath=https://graph.facebook.com/
Detail=https://graph.facebook.com/[id]/comments?access_token=xxx;limit=1000

 

However, using the facebook graph explorer i have managed to type every single post id and it all shown comments! i am sure all the extracted post id are certainly correct, i have even tried converting the ID field to different data types to try but to no avail, i am not sure why is the algorithum unable to access the comments. Anyone has any ideal why? thanks in advance ! All solutions are welcomed!


@Clement99

I'm not familiar with Facebook APIs, what is the id standing for? UserID or what? What if your post the link returning 803 error in Power BI "https://graph.facebook.com/[id]/comments?access_token=xxx" in a browser like Chrome? I got 803 as well while I tested in Chrome.

 

By the way, I remembeder that a dataset with such API calling custom column doesn't support schedule refresh. For such API calling scenarios, I'd suggest extact all data in an external script and save the data in some file or database. The connect to the file or database in Power BI.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.