---
title: retryAfterSeconds
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/ckerror/retryafterseconds
---

# retryAfterSeconds

The number of seconds to wait before you retry the request.

## Declaration

```swift
var retryAfterSeconds: Double? { get }
```

## Discussion

Discussion This property’s value is available only when the error’s code is serviceUnavailable or requestRateLimited. The error’s userInfo dictionary contains the same value as this property. You can access it using the CKErrorRetryAfterKey key.
