# Troubleshooting Errors

**Presales Factory**

| Error Code         | Description                            |
| ------------------ | -------------------------------------- |
| **PSF: Not Owner** | You are not the owner                  |
| **PSF-PAUSED**     | Presale creation is paused             |
| **PSF-ERR-1001**   | Fee withdraw failed                    |
| **PSF-ERR-1050**   | Dates do not match validation rules    |
| **PSF-ERR-1054**   | Softcap is below the limit             |
| **PSF-ERR-1056**   | Min contribution must be less than max |
| **PSF-ERR-1057**   | Not enough BNB for presale fees        |
| **PSF-ERR-1058**   | not enough tokens to cover presale     |

**Presales**

| Description                          | Description                                                                        |
| ------------------------------------ | ---------------------------------------------------------------------------------- |
| **PS: Not Owner**                    | You are not the owner                                                              |
| **PS: Not Admin**                    | You are not the admin                                                              |
| **PS: Not Contributer**              | You did not contribute BNB to presale                                              |
| **PS: Not Whitelisted**              | You are not whitelisted                                                            |
| **PS: Presale not failed/cancelled** | Presale not failed/cancelled                                                       |
| **PS: Not active/pending/ended.**    | Presale not active/pending/ended                                                   |
| **PS: Not pending**                  | Presale not Pending                                                                |
| **PS: Not running.**                 | Presale not Running                                                                |
| **PS-ERR-1021**                      | Softcap not reached yet                                                            |
| **PS-ERR-1021B**                     | Not enough tokens added to presale to finalize                                     |
| **PS-ERR-1201**                      | Allowance less than required **(Token Error)**                                     |
| **PS-ERR-1203**                      | Adding liquidity failed **(Exchange Error)**                                       |
| **PS-ERR-1022**                      | Token pair creation failed **(Exchange Error)**                                    |
| **PS-ERR-1002**                      | User doesn't exist in whitelist                                                    |
| **PS-ERR-1002B**                     | User exists in whitelist                                                           |
| **PS-ERR-1003**                      | Contribution overflows hardcap                                                     |
| **PS-ERR-1004**                      | Value is lower than min contribution or value higher than the max contribution.    |
| **PS-ERR-1014**                      | Already finalized, or calling wrong microvault status/microvault                   |
| **PS-ERR-1015**                      | Microvaults: Vest already withdrawn                                                |
| **PS-ERR-1016**                      | Microvaults: Too soon to withdraw vest                                             |
| **PS-ERR-1017**                      | Vesting unlock date has to be after presale end date, vests have to be more than 0 |
| **PS-ERR-1040**                      | LP Withdraw: date hasn't arrived yet                                               |
| **PS: Not Over**                     | Presale needs to finalize before you can withdraw leftover tokens.                 |
