Skip to main content

API Sync errors: Access Denied (red warning after syncing)

Written by Robin Singh

If you are seeing an Access denied error on the Wallets page for any of your wallets, then it usually means your API keys are incorrect, missing the right permissions, or they have expired. API keys play a crucial role in connecting your cryptocurrency exchange accounts to Koinly for accurate tax reporting, so resolving these issues is important:

Screenshot 2020-12-20 at 13.53.05.png

Note that with most exchanges, API secrets cannot be retrieved after initial creation. If you've lost your API secret, you'll need to create a new API key and update it in Koinly. Always securely store your API key and secret when first generated.

☝️ Follow our integration instructions

Select your wallet and carefully review the import instructions to ensure each step was followed correctly. You can also find detailed integration instructions for all exchanges and wallets here: https://koinly.io/integrations

Common issues to check

  • Missing permissions
    Ensure all required permissions (read, trade, etc.) are added for the API key. Koinly typically needs read-only access and does not require withdrawal permissions.

  • IP whitelisting
    Check that IP whitelisting is disabled, as Koinly does not support this feature. You can check the status of this feature request here: https://feedback.koinly.io/feature-requests/p/static-ip

  • Expired API Key
    Verify that the API key has not expired, and create a new one if needed.

  • Authentication Errors
    Double-check that you've entered the API key and secret exactly as provided, with no trailing spaces or missing characters.

  • Invalid Key Format
    Remember that API keys and secrets are provided by your exchange and not manually created. Only the API name is something you choose yourself.

If these steps don't resolve the issue:

  1. Create a new API key
    Following the integration instructions exactly

  2. If new API keys don't work
    Check if it's a known issue on our feedback board

  3. Consider using CSV import as an alternative

    • Download transaction history CSV files from your exchange

    • Ensure files include your complete transaction history

    • Import these files into Koinly

  4. If the issue persists, contact support to report the problem

In most cases, following the instructions on our integrations pages will solve any sync issues. For smooth integration with Koinly, always securely store your API key and secret when first generated, use guides provided by your exchange, and familiarise yourself with the CSV import method as a fallback option to ensure your tax data remains accurate.

Updating the API key for existing wallet

If you had to create a new API key (e.g. because the old one expired) you don't have to create a new wallet. You can edit the API settings of the existing wallet and put the new key there. You can enter API settings by clicking on "Auto-sync enabled" and paste your new API key and secret in the popup:

Did this answer your question?