Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook Marketing API asset access suddenly denied

I maintain a couple of Facebook Marketing API PHP integrations. They pull data from ad campaigns into a dashboard. Since these are for specific clients to access their own data, I keep them in Dev mode as I don't want them publicly visible. At 10 AM this morning, the API suddenly started refusing connections to both apps. The error I get is:

"error_user_title": "Specific asset cannot be accessed in dev mode app",

"error_user_msg": "Your query touched some business assets which cannot be viewed in dev mode app. Please make sure all business assets the dev mode app is accessing are either with in the same business as the app, or under the caller if app doesn't have a business. Dev mode app and accessing asset are not owned by same business",

I went through the app settings and the relevant business is still associated with the app. I verified all the credentials and it all appears good. This happened simultaneously across two similarly-configured apps.

Nothing changed about my code, and as this happened two two different apps and two different accounts simultaneously, I assume Facebook just changed something.

Anyone know how to fix this?

like image 220
James Avatar asked Jun 03 '19 17:06

James


1 Answers

I was experiencing the same thing. As Pieter suggested, it look like it was a bug and has now been resolved. My app is working fine now.

like image 168
Inspector6 Avatar answered Oct 21 '22 13:10

Inspector6