[bug fixing] PTSDK-1393

Correct error type (download API) when parameter type mismatch
Merge pull request #134 from zivchang/next

[bug fixing] PTSDK-1393