> For the complete documentation index, see [llms.txt](https://docs.gnoswap.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gnoswap.io/contracts/errors/staker.md).

# Staker

The following table outlines potential errors that may occur during interactions with the staker contract in GnoSwap:

| Code               | Message                              |
| ------------------ | ------------------------------------ |
| GNOSWAP-STAKER-001 | caller has no permission             |
| GNOSWAP-STAKER-002 | pool not found                       |
| GNOSWAP-STAKER-003 | not available to update collect time |
| GNOSWAP-STAKER-004 | invalid input data                   |
| GNOSWAP-STAKER-005 | invalid unstaking fee                |
| GNOSWAP-STAKER-006 | already staked position              |
| GNOSWAP-STAKER-007 | pool is not incentivized             |
| GNOSWAP-STAKER-008 | cannot end incentive                 |
| GNOSWAP-STAKER-009 | invalid incentive start time         |
| GNOSWAP-STAKER-010 | cannot delete default external token |
| GNOSWAP-STAKER-011 | invalid pool path                    |
| GNOSWAP-STAKER-012 | invalid pool tier                    |
| GNOSWAP-STAKER-013 | requested data not found             |
| GNOSWAP-STAKER-014 | unexpected calculation error         |
| GNOSWAP-STAKER-015 | zero liquidity                       |
| GNOSWAP-STAKER-016 | invalid incentive duration           |
| GNOSWAP-STAKER-017 | not allowed for external reward      |
| GNOSWAP-STAKER-018 | incentive already exists             |
| GNOSWAP-STAKER-019 | overflow                             |
| GNOSWAP-STAKER-020 | cannot add existing token            |
| GNOSWAP-STAKER-021 | invalid address                      |
| GNOSWAP-STAKER-022 | incentive is not ended yet           |
| GNOSWAP-STAKER-023 | cannot cancel incentive              |
| GNOSWAP-STAKER-024 | position has uncollected rewards     |
| GNOSWAP-STAKER-025 | denied reward token                  |
| GNOSWAP-STAKER-026 | cannot deny default token            |
| GNOSWAP-STAKER-027 | insufficient reward token balance    |
