During the creation period (from the moment the Issuer requests Pack creation, and until all Packs are successfully created), any errors or failed transactions (such as a failure to withdraw a Collectible from the Issuer’s NFT Provider) will cause the PDS to put the Distribution into the Invalid state. Additionally, the Issuer will have a mechanism to forcibly abort the process, which will also put the Distribution into the Invalid state.
Any Collectibles that were put into escrow in a Distribution that becomes Invalid are available to be removed via the Distribution Capability provided to the Issuer. Any Packs created by a Distribution that becomes Invalid are themselves Invalid and should be destroyed by the Issuer. There is no way to “fix” an Invalid Distribution, instead, the Issuer must remove any transferred Collectibles from an Invalid Distribution back into their own account and begin a new Distribution.
Allow the backend to put a distribution in "Invalid" state if such an error occurs during the process
Allow issuer to put a distribution in "Invalid" state