---
title: SKAdTestError.Code.noPendingPostbacks
framework: storekittest
role: symbol
role_heading: Case
path: storekittest/skadtesterror/code/nopendingpostbacks
---

# SKAdTestError.Code.noPendingPostbacks

The test session doesn’t have any pending postbacks to send.

## Declaration

```swift
case noPendingPostbacks
```

## Discussion

Discussion This error occurs if you call flushPostbacks(responses:) before adding a postback to the test session (SKAdTestSession). To avoid this error, call SKAdTestPostback to create a test postback, and setPostbacks(_:) to add the test postback to the test session before calling flushPostbacks(responses:).

## See Also

### Postback Errors

- [SKAdTestError.Code.excessivePostbacks](storekittest/skadtesterror/code/excessivepostbacks.md)
- [SKAdTestError.Code.invalidConversionValue](storekittest/skadtesterror/code/invalidconversionvalue.md)
- [SKAdTestError.Code.invalidPostbackURL](storekittest/skadtesterror/code/invalidpostbackurl.md)
- [SKAdTestError.Code.invalidRunnerUpPostback](storekittest/skadtesterror/code/invalidrunneruppostback.md)
- [SKAdTestError.Code.invalidWinningPostbackCount](storekittest/skadtesterror/code/invalidwinningpostbackcount.md)
- [SKAdTestError.Code.malformedPostbacks](storekittest/skadtesterror/code/malformedpostbacks.md)
- [SKAdTestError.Code.missingPostbacks](storekittest/skadtesterror/code/missingpostbacks.md)
- [SKAdTestError.Code.misplacedWinnerPostback](storekittest/skadtesterror/code/misplacedwinnerpostback.md)
- [SKAdTestError.Code.missingWinningPostback](storekittest/skadtesterror/code/missingwinningpostback.md)
- [SKAdTestError.Code.unlinkedWinningPostbacks](storekittest/skadtesterror/code/unlinkedwinningpostbacks.md)
- [SKAdTestError.Code.excessivePostbacks](storekittest/skadtesterror/code/excessivepostbacks.md)
- [SKAdTestError.Code.invalidConversionValue](storekittest/skadtesterror/code/invalidconversionvalue.md)
- [SKAdTestError.Code.invalidPostbackURL](storekittest/skadtesterror/code/invalidpostbackurl.md)
- [SKAdTestError.Code.invalidRunnerUpPostback](storekittest/skadtesterror/code/invalidrunneruppostback.md)
- [SKAdTestError.Code.invalidWinningPostbackCount](storekittest/skadtesterror/code/invalidwinningpostbackcount.md)
