daroczig / fbRads

Analyze and manage Facebook ads from R using this client library to access their Marketing APIs
GNU Affero General Public License v3.0
153 stars 57 forks source link

Error when requesting "actions" field #148

Open elalbaicin opened 1 year ago

elalbaicin commented 1 year ago

Since the beginning of this month, I've had issues requesting the actions field. All I get is a generic error message, as displayed below. Requesting other fields, such as unique_actions, works perfectly, so the issue is not fbacc as the message states. Is it something with the package or the API?

ERROR [2023-05-30 11:08:43] This is a temporary FB error. INFO [2023-05-30 11:08:45] Retrying query for the 1 st/nd/rd time ERROR [2023-05-30 11:09:06] This is a temporary FB error. INFO [2023-05-30 11:09:08] Retrying query for the 2 st/nd/rd time ERROR [2023-05-30 11:09:38] This is a temporary FB error. INFO [2023-05-30 11:09:40] Retrying query for the 3 st/nd/rd time ERROR [2023-05-30 11:10:08] This is a temporary FB error. Error: Invalid R object passed as fbacc argument. See ?fbad_init for more details.

elalbaicin commented 1 year ago

After a bit of tinkering, I found the proper error message is "Please reduce the amount of data you're asking for, then retry your request". So the issue is with the API, but a clearer error message from the package would be helpful.