Not getting damage-taken results

Hello, I am having some trouble getting results with the API. In this instance I am trying to get details for raid damage taken on a specific ability. When I use the tables view on the web interface I get data but this is not working:

https://www.warcraftlogs.com:443/v1/report/tables/damage-taken/$(report.id)?by=source&abilityid=330848&encounter=2412&difficulty=3&api_key=($apiKey)