## Problem [#problem]

A client's trading account in the B2CORE Back Office appears in the status **E** (Error) or **A** (Archived).

## Possible reasons [#possible-reasons]

* The account has been archived in B2CORE.
* The account was archived or deleted on the trading platform but remains visible in B2CORE.
* A connection issue is preventing proper synchronization of account status.

## Solution [#solution]

To troubleshoot these statuses:

<Steps>
  <Step>
    ### Unarchive an account in the B2CORE Back Office (if required) [#unarchive-an-account-in-the-b2core-back-office-if-required]

    * Navigate to **Clients** > **Accounts**.
    * Find the account in the list and click the **Edit** button to open its details.
    * Click the **Actions** button in the upper-right corner and select **Unarchive** in the dropdown.
  </Step>

  <Step>
    ### Handle an account in the E (Error) status [#handle-an-account-in-the-e-error-status]

    The account in the **E** status usually indicates that it was archived or deleted on the trading platform. To fix it, restore or unarchive the account on the trading platform.

    Once restored, the updated status will sync with B2CORE.
  </Step>

  <Step>
    ### Check the trading platform connection settings [#check-the-trading-platform-connection-settings]

    If an account appears in the **A** (Archived) status but is expected to be active, check the trading platform connection. For details, refer to **Step 1** in [Clients can't create trading accounts via the B2CORE UI](clients-can-not-create-trading-accounts-via-the-b2core-ui).
  </Step>

  <Step>
    ### Hide an account in the B2CORE UI if can't be unarchived or restored [#hide-an-account-in-the-b2core-ui-if-cant-be-unarchived-or-restored]

    If an account can't be unarchived or restored on the trading platform, remove the `Visible` permission for the account in the B2CORE Back Office. This ensures the account won't be displayed to the client in the B2CORE UI. To do this:

    * Navigate to **Clients** > **Accounts**.
    * Find the account in the list and click the **Edit** button to open its details.
    * In the Rights list, remove the `Visible` permission.
    * Click **Save** to apply the changes.

    <img title="Remove Visible from the Rights field" src="/attachments/b2core/troubleshooting/remove-visible-permission-from-account.png" alt="Remove Visible from the Rights field" />
  </Step>
</Steps>
