> For the complete documentation index, see [llms.txt](https://docs.uncoded.ch/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uncoded.ch/optimization/uncoded-troubleshooting.md).

# unCoded Troubleshooting

***

#### **1. Bot Fails to Start**

**Potential Causes:**

* The `acceptTosAndStart` parameter is set to `false` in the configuration.
* Missing or incorrect API keys in the variables.

**Solutions:**

1. **Verify the `acceptTosAndStart` Setting**
   1. In Telegram, send `/start` to open the control panel.
   2. Select **Configurations**.
   3. Locate the **acceptTosAndStart** parameter and ensure its value is set to **true**.
2. **Verify API Keys:**
   * Confirm that your Binance API Key and Secret Key are correctly entered and have the required permissions (Read Info, Spot & Margin Trading).
3. **Review Server Specifications:**
   * Ensure your server meets the minimum requirements, including a static IP and sufficient resources.

***

#### **2. Incorrect or No Trades Executed**

**Potential Causes:**

* Incorrect trading pair in the configuration.
* Misconfigured `buyPercentage` or `sellPercentages`.
* Insufficient balance on your Binance account.

**Solutions:**

1. **Validate Trading Pair:**
   * Confirm that `baseAsset` and `quoteAsset` are set to the desired trading pair (e.g., PEPE/USDC).
2. **Adjust Parameters:**
   * Ensure `buyPercentage` and `sellPercentages` are reasonable for the current market conditions.
3. **Check Binance Balance:**
   * Verify you have enough USDC and BNB (for fees) in your Binance account.

***

#### **3. Sell Orders Not Triggering**

**Potential Causes:**

* `sellActivateDistancePercentage` is too high.
* `sellCancelDistancePercentage` is misconfigured.

**Solutions:**

1. **Review Activation Distance:**
   * Lower `sellActivateDistancePercentage` to ensure sell orders are placed closer to the buy price.
2. **Check Cancel Distance:**
   * Ensure `sellCancelDistancePercentage` aligns with your risk tolerance and trading strategy.

***

#### **4. High Fees Reducing Profits**

**Potential Causes:**

* Not using USDC to qualify for Binance VIP1.
* Insufficient BNB for fee discounts.

**Solutions:**

1. **Switch to USDC:**
   * Use USDC as your quote asset to reduce fees and unlock VIP1 status.
2. **Maintain BNB Balance:**
   * Ensure you have enough BNB in your account to cover trading fees at a discounted rate.

***

#### **5. Bot Stops After a Period**

**Potential Causes:**

* License balance is depleted.
* Server downtime or interruptions.

**Solutions:**

1. **Check License Balance:**
   * Use Binance Pay to reload your license balance and resume operations.
2. **Monitor Server Health:**
   * Ensure your server is running and stable. Restart if necessary.

***

#### **6. Debugging Tools**

* **Logs:**
  * Check the log files generated by the bot for detailed error messages and operational insights.
* **Community Support:**
  * Reach out to the [unCoded Telegram group](https://t.me/unCoded_bot?start=ref_279365089) for help from other users and administrators.

***

#### **7. When to Contact Support**

If the above steps do not resolve your issue, contact support at <info@arrowtrade.ch> with the following details:

* A description of the issue.
* A copy of your log file.

By following these troubleshooting steps, you can resolve most issues and ensure a smooth experience with unCoded.
