Community Discussion

Ask a Question
Back to All

BREAKING: Malformed JSON response breaking our automation

Taboola API is sometimes responding with malformed JSON when hitting endpoint: "https://backstage.taboola.com/backstage/api/1.0/{account_id}/campaigns/".

JSON response is getting cut off, and we're not able to decode so it is breaking all of our automation. For example, the last debug response I pulled is ending in the middle of a "publisher_targeting" array. This is the very end of a response we got, where you can clearly see it is not a closed array or object, it just ends:

"publisher_targeting":{"type":"EXCLUDE","value":[ ... "mp-metropcs-cashew-appnoticias-es","mp-metropcs-cashew-app"

This is a log of the raw JSON response, and as I said it works a % of the time so I don't think it is anything on our end.

Are you aware of this issue?

ο»Ώ