[bug fixing] PTSDK-1393

Correct error type (download API) when parameter type mismatch