---
title: tooManyPendingTaskRequests
framework: backgroundtasks
role: symbol
role_heading: Type Property
path: backgroundtasks/bgtaskscheduler/error/toomanypendingtaskrequests
---

# tooManyPendingTaskRequests

A task scheduling error that indicates there are too many pending tasks of the type requested.

## Declaration

```swift
static var tooManyPendingTaskRequests: BGTaskScheduler.Error.Code { get }
```

## Discussion

Discussion Try canceling some existing task requests and then resubmit the request that failed.

## See Also

### Getting the error codes

- [BGTaskScheduler.Error.Code](backgroundtasks/bgtaskscheduler/error/code.md)
- [notPermitted](backgroundtasks/bgtaskscheduler/error/notpermitted.md)
- [unavailable](backgroundtasks/bgtaskscheduler/error/unavailable.md)
