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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ankit_joshi11
Frequent Visitor

undefined

Wanted facebook page ad campaign data for Power BI application. Cannot access that data through Facebook API.

I want to calculate the ROI so how can I get the budget and cost data from the graph explorer.
Graph API
I have taken all the user permissions.

 

This is the error.

"error": {
"message": "(#200) Application does not have required permission commerce_account_read_reports or the capability to make this API call. In case of permissions, your app must be live and have approved permissions for accessing regular shop.",
"type": "OAuthException",
"code": 200,
"fbtrace_id": "AB6mnVTfqRMnwLC21kJZa8s"
}
}

 

2 REPLIES 2
V-pazhen-msft
Community Support
Community Support

@ankit_joshi11 

This is a facebook error, #200 error code is a permission error.

Error Codes - Marketing API (facebook.com)

 

You may go for the facebook dev community, 

Developer Support - Facebook for Developers

 


Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

ankit_joshi11_0-1617791642324.png

 

This was their reply.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.