# FailedAttempt

Defined in: [packages/synapse-sdk/src/types.ts:503](https://github.com/FilOzone/synapse-sdk/blob/8d8b407968f141ea7931036f0f8d36745d1ce74b/packages/synapse-sdk/src/types.ts#L503)

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:509](https://github.com/FilOzone/synapse-sdk/blob/8d8b407968f141ea7931036f0f8d36745d1ce74b/packages/synapse-sdk/src/types.ts#L509)

Error description

***

### explicit

> **explicit**: `boolean`

Defined in: [packages/synapse-sdk/src/types.ts:511](https://github.com/FilOzone/synapse-sdk/blob/8d8b407968f141ea7931036f0f8d36745d1ce74b/packages/synapse-sdk/src/types.ts#L511)

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

***

### providerId

> **providerId**: `bigint`

Defined in: [packages/synapse-sdk/src/types.ts:505](https://github.com/FilOzone/synapse-sdk/blob/8d8b407968f141ea7931036f0f8d36745d1ce74b/packages/synapse-sdk/src/types.ts#L505)

Provider ID that was attempted

***

### role

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

Defined in: [packages/synapse-sdk/src/types.ts:507](https://github.com/FilOzone/synapse-sdk/blob/8d8b407968f141ea7931036f0f8d36745d1ce74b/packages/synapse-sdk/src/types.ts#L507)

Role the provider was being used for