Reporting API getPageUrls Period Issue

I’m having some problems with an API call. I’m using the reporting API to get some stats on a specific URL. Most of the time I can query period=year and it’ll return the year’s worth of stats, but some URLs come back empty unless I do period=month. The following query is one where it works fine with month, but fails on year:

https://flutter.piwik.pro?token_auth=xxx&method=Actions.getPageUrls&module=API&idSite=5&period=year&date=today&format=json&label=/the-star-wars-show-action-movie-kid-missing-yoda-statue-star-wars-at-sdcc

I can’t really find any pattern between what urls are going to fail either, so I’m not really sure how to diagnose the problem. Any help would be appreciated. Thanks!

Hello, you need to URL encode the parameters eg. URL encode the label - maybe this helps your issue?