Tag Query help system.tag.queryTagHistory

paths=['my tag provider here']

Are you actually giving a list of tag paths and not just the provider name?
Are you sure you are logging at least once a day. (What are the tag settings for Max Time Between Samples?

Please see Wiki - how to post code on this forum.