Invalid value for --i-demultiplexed-seqs; paired-end-demux.qza is not a QIIME2 artifact (.qza)

Hi all, I am trying to denoise my sequence with the following command:
qiime dada2 denoise-paired
--i-demultiplexed-seqs '/home/chia/paired-end-demux.qza'
--p-trim-left-f 0
--p-trim-left-r 0
--p-trunc-len-f 220
--p-trunc-len-r 200
--o-representative-sequences reps-seqs-dada2.qza
--o-table pet-table.qza
--o-denoising-stats denoising-stats.qza
--p-n-threads 24

But the error shown: (1/1) Invalid value for '--i-demultiplexed-seqs': '/home/chia/paired-end-
demux.qza' is not a QIIME 2 Artifact (.qza)

Is there anyone has any idea on what's the possible solution or problem with my file?

Hello @CHIA,

Can you run file '/home/chia/paired-end-demux.qza and post the output here? You might also try removing the quotes around the path to your demux artifact, though I don't think that should make a difference.

Hi @colinvwood ,
It was actually because of the qza file I have generated earlier was using different version of QIIME2.
As with the latest version I am not sure why I can't use the dada2,so I went to download the older version of QIIME2 which it can't read the qza file generated by the latest version of QIIME2.

Hello @CHIA,

I don't completely understand the issue you're facing now (if you're facing one). Please post any errors you received along with the commands you ran.