Why am I getting “Uncaught Error: This file can’t be queued because it has already been processed or was rejected.”?

Issue

This Content is from Stack Overflow. Question asked by Luca Reghellin

following another related thread here, I’m using the autoQueue:false dropzone option, and then, based on ustom conditions, I’m calling dropzone.enqueueFile(file) on the 'addedfile' callback.

Though, I’m getting this error:

Uncaught Error: This file can’t be queued because it has already been
processed or was rejected.

And this is strange, because there are no file in queue.

Here there are others complaining for the same error, but the original question is not suitable for this issue, which indeed seems to be common.



Solution

Check the Answers

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?