# Bybit API and CSV problems

**URL:** <https://discuss.koinly.io/t/bybit-api-and-csv-problems/21269>\
**Category:** Koinly Support\
**Created:** [July 20, 2024, 1:47am UTC](https://discuss.koinly.io/t/bybit-api-and-csv-problems/21269 "2024-07-20T01:47:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oztayls](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/oztayls/32/11855_2.png) [@oztayls](https://discuss.koinly.io/u/oztayls)\
**Post date:** [July 20, 2024, 1:47am UTC](https://discuss.koinly.io/t/bybit-api-and-csv-problems/21269/1 "2024-07-20T01:47:23Z")

</div>

Problems with APIs and CSVs:

1. Koinly response: Bybit Tax API: _Looks like your wallet **‘ByBit’** didn’t sync successfully due to an authentication error._  
_This usually means that the API keys are either invalid or not set up with the necessary permissions needed to sync your transaction history._

My response: No, this is incorrect as I can sync with the standard API (but this is also faulty and doesn’t import all my transactions and returns incorrect balances and realised/unrealised gains)

1. CSV file imports:

These too are problematic and not reporting correct balances and capital gains and doubling up on transactions. I have tried various CSV file imports to no avail.

When I look through all the Bybit issues here, they seem to go way back, but there don’t seem to be any fixes. The same issues seem to appear all the time which is frustrating. Unfortunately, the sheer volume of trading transactions means that manual inputs of these are not feasible.

PS. I use Bybit for trading, for example derivatives and copy trading.

---

<div class="post-metadata">

**Author:** ![Aria\_Koinly](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/aria_koinly/32/9150_2.png) [@Aria\_Koinly](https://discuss.koinly.io/u/Aria_Koinly)\
**Post date:** [July 24, 2024, 2:04pm UTC](https://discuss.koinly.io/t/bybit-api-and-csv-problems/21269/2 "2024-07-24T14:04:49Z")

</div>

Hi @oztayls

There is currently an issue with the Bybit Tax API which you can track on our Feedback Portal using the link below:

> **[ByBit API: Permission denied, please check your API key permissions | API/CSV...](https://feedback.koinly.io/apicsv-issues-public/p/bybit-api-permission-denied-please-check-your-api-key-permissions)**
>
> Wallet: ByBit Import Type: API (Tax API key) When I try to sync my wallet, I receive an error: Permission denied, please check your API key permissions And no

The workaround as suggested in the link above is to use the regular API.

Regarding CSV files, you should make sure you have followed the instructions in the guide below to export your files:

[https://koinly.io/integrations/bybit/](https://koinly.io/integrations/bybit/)

If you have issues with the way API imports your transactions or if there are issues with the files, please contact our support team to look into the issue.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex052/uploads/koinly_app/original/1X/7ac58e5593a7122893d066794a7254dcdb5ddb31.png) [@system](https://discuss.koinly.io/u/system)\
**Post date:** [September 22, 2024, 2:05pm UTC](https://discuss.koinly.io/t/bybit-api-and-csv-problems/21269/3 "2024-09-22T14:05:13Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
