# FailedAttempt

Defined in: [packages/synapse-sdk/src/types.ts:521](https://github.com/FilOzone/synapse-sdk/blob/365969fc762f19d23aad6dc609a529c10b5e639f/packages/synapse-sdk/src/types.ts#L521)

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.

## Properties

### error

> **error**: `string`

Defined in: [packages/synapse-sdk/src/types.ts:527](https://github.com/FilOzone/synapse-sdk/blob/365969fc762f19d23aad6dc609a529c10b5e639f/packages/synapse-sdk/src/types.ts#L527)

Error description

***

### explicit

> **explicit**: `boolean`

Defined in: [packages/synapse-sdk/src/types.ts:529](https://github.com/FilOzone/synapse-sdk/blob/365969fc762f19d23aad6dc609a529c10b5e639f/packages/synapse-sdk/src/types.ts#L529)

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

***

### providerId

> **providerId**: `bigint`

Defined in: [packages/synapse-sdk/src/types.ts:523](https://github.com/FilOzone/synapse-sdk/blob/365969fc762f19d23aad6dc609a529c10b5e639f/packages/synapse-sdk/src/types.ts#L523)

Provider ID that was attempted

***

### role

> **role**: [`CopyRole`](/reference/filoz/synapse-sdk/synapse/type-aliases/copyrole/)

Defined in: [packages/synapse-sdk/src/types.ts:525](https://github.com/FilOzone/synapse-sdk/blob/365969fc762f19d23aad6dc609a529c10b5e639f/packages/synapse-sdk/src/types.ts#L525)

Role the provider was being used for