I am using Graph API 12.0 to create a custom web audience. I am getting "invalid rule JSON format" error. I believe I am using the exact format specified here
Below is the error message:
{
"error": {
"message": "Invalid parameter",
"type": "OAuthException",
"code": 100,
"error_subcode": 1713098,
"is_transient": false,
"error_user_title": "Invalid rule JSON format",
"error_user_msg": "Invalid rule JSON format.",
"fbtrace_id": "A0joQukIsvQEjCrMmbKNNvj
"
}
}
And this is my request:
{
"name": "test",
"rule": {
"inclusions": {
"operator": "or",
"rules": [
{
"event_sources": [
{
"type": "pixel",
"id": PIXEL_ID
}
],
"retention_seconds": 600
}
]
}
},
"retention_days": "1",
"prefill": "1"
}
Any help is appreciated
Hi Emre. have you found a solution for this error? I am also experiencing this type of error. Hoping for any solution possible. Thank you