Skip to content

FailedAttempt

Defined in: packages/synapse-sdk/src/types.ts:504

A provider attempt that did not produce a successful copy.

A non-empty failedAttempts array does NOT mean the upload failed. Failed attempts include providers that were tried and replaced by successful attempts on other providers. Always check UploadResult.complete to determine overall success.

error: string

Defined in: packages/synapse-sdk/src/types.ts:510

Error description


explicit: boolean

Defined in: packages/synapse-sdk/src/types.ts:512

Whether the provider was explicitly specified (no auto-retry for explicit)


providerId: bigint

Defined in: packages/synapse-sdk/src/types.ts:506

Provider ID that was attempted


role: CopyRole

Defined in: packages/synapse-sdk/src/types.ts:508

Role the provider was being used for