We need to test for this an throw an appropriate error. Right now it looks like your usr param is wrong because we're returning: Whoops, we can't find any valid key!
# Return decent response if no files are stored with Zamzar
if (content$paging$total_count == 0 && content$paging$limit == 50) {
stop("Seems like Zamzar doesn't store any files submitted by this key!")
}
If there's no files at Zamzar, the .zz_parse_response function will return the following json:
We need to test for this an throw an appropriate error. Right now it looks like your usr param is wrong because we're returning:
Whoops, we can't find any valid key!