pub const PERMANENT_UPLOAD_REFUSALS: [&str; 6];Expand description
The server’s error.* codes that refuse a hand-off’s requests for good. The delegate sends
the origin’s signed requests verbatim and can change none of them, so no later run of the
same hand-off can succeed:
error.upload.envelope_rejected: finalization re-validated the manifest and refused it — a create sealed under an album epoch the album has moved past (invariant 18), a signer revoked or not the account’s, a signature that does not verify, or a role conflict.error.upload.envelope_mismatch: a request contradicts its own manifest envelope.error.upload.stale_revival: the asset’s chain has moved past the one the manifest extends — a conflicting provenance only the origin can rebase.
The create-time answers to the conditions finalization answers with envelope_rejected are
permanent for the same reason, so a condition is classified the same whichever step meets it:
error.upload.timestamp_out_of_range: the signed manifest’s timestamp is outside the accepted window (past the drift allowance); the timestamp is signed and cannot change.error.upload.album_access_denied: the album is missing, closed, or not writable by the uploader.error.upload.device_not_authorized: the signing device is not authorized in the uploader’s directory.