The error means that the new prototype doesn’t exist in the game archive. Defold will only include objects referenced from the bootstrap collection and it’s sub collections.
The main use case for dynamic prototypes is when combined with the Live Update feature when using a prototype from the live update archive. Are you using live update?