Forum

[advh] E: failed to parse advertising API response

failed to parse advertising API response 2022-11-10 13:48:35 UTC in WMSPanel functionality

Hi, I'm testing the addenda ads insertion on a server with static JSON config on the same server, I have used the codes as showed on the technical page, for some reason I'm getting this error in the nimble log file and ads seems to be not working, Please help me , what went wrong with the config.
handler.json config
"contents":
[
{"id":"pre-roll","uri":"file:///var/nimble/ad/All_over_in_10_seconds.mp4"}
],
"rules":
[
{
"id":"ad01",
"protocols":["sldp", "rtmp", "hls"],
"users":[],
"type":"stream",
"app":"purple"
"stream":"thanthi12"
"time_sync":"stream",
"time_offset":20,
"time_interval":60,
"contents":[{"id":"pre-roll","onerror":"stop","wait":"10"}]
}
]
}

Nimle.config
advertising_url = file:///var/nimble/ad/handler.json
log_advertisements=true

Sergei 2022-11-11 00:05:21 UTC 

Hello.

As for the provided file, you have errors in it, e.g. missing comma at line 11: "app": "purple "stream":"thanthi12"
Please validate your json first via some JSON validator.

Please also open a ticket at wmspanel.com/help and provide the exact error line you have in the log.

Thank you

User 2022-11-11 02:59:52 UTC 

Thank you, I will check it .

Post a reply


Post a new question

Categories:

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the Privacy Policy. If you want to know more or withdraw your consent to all or some of the cookies, please refer to the Privacy Policy.
By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies.