The exact same call to Actions.getPageUrl will 4/5 times return correctly. But the other 1/5 times all I get back is an empty result. This happens without any paramters being changed.
When the Empty Response happens, there's no error message displayed, logged to error_log, or anywhere else that I can find. I don't have any idea how to proceed with debugging this issue.'
Can I turn on more verbose debugging some how?
Lastly, I am not able to reproduce this issue on the demo site.
Example request:
Normal Response (80% of the time):
Empty Response (20% of the time)
When the Empty Response happens, there's no error message displayed, logged to error_log, or anywhere else that I can find. I don't have any idea how to proceed with debugging this issue.'
Can I turn on more verbose debugging some how?
Lastly, I am not able to reproduce this issue on the demo site.
Example request:
https://example.com/?module=API&method=Actions.getPageUrl&format=json&idSite=1&token_auth=XXXXXXXXXX&period=range&date=2001-01-01%2Ctoday&pageUrl=http%3A%2F%2Fexample.com%2Ffoo
Normal Response (80% of the time):
[{ "label": "\/foo", "nb_visits": 3, "nb_hits": 7, "sum_time_spent": 2109, "entry_nb_visits": 3, "entry_nb_actions": 34, "entry_sum_visit_length": 6450, "entry_bounce_count": 0, "exit_nb_visits": 2, "sum_daily_nb_uniq_visitors": 3, "sum_daily_entry_nb_uniq_visitors": 3, "sum_daily_exit_nb_uniq_visitors": 2, "avg_time_on_page": 703, "bounce_rate": "0%", "exit_rate": "67%", "url": "http:\/\/example.com\/foo" }]
Empty Response (20% of the time)
[]