Welcome to the forum, @snieva!
Thanks for including your command in your post. Is that an exact copy/paste? You've probably already considered this, but your error could easily be caused by a typo.
Assuming that's not the situation, please post the complete error message and traceback so we can dig into it. The code-block formatting I added to your post may help make it more readable.
One small thing that occured to me, what version of QIIME 2 are you running? This import API did change in the last year, it's possible your deployment expects --source-format (which makes much less sense than input-format and input-path, hence the change).
Thanks Chris!!
I will take your advice for my future posts (probably many of them, because I am old user of QIIME 1 and I am currently in the transition to QIIME 2 ).