Describe the problem:
I logged into my account after a long time. I requested to sync all wallets because a new year is approaching, and I’ll need to generate a tax report. Two wallet syncs failed: OKX and MEXC. The MEXC issue was straightforward - their keys expire after some time. I recreated the key, and everything works fine now. As for OKX, I cannot figure out the problem. No matter what I do, I get:
Access denied: Invalid API key
Which exchange/wallet is this regarding?
OKX
How did you import data into this wallet?
Automatic sync.
What have you tried to fix this so far?
First, I tried to update the API key in the existing wallet according to the instructions (https://koinly.io/integrations/okex/). I created a new API key, updated the configuration, and the sync failed.
I thought that maybe there was a problem with labels in the system, so I tried swapping the passphrase in the API secret and the API secret in the passphrase field. It didn’t work.
Next, I deleted the OKX wallet and created a new one. I tried to reuse the previously created API key, but it didn’t work.
I started experimenting with the passphrase. I used a very long one (32 characters) with all allowed special characters. Then, I tried shorter ones (14 characters), each with only one special character (!
and @
).
No matter what I did, the sync always failed.
I think I created around 5 new API tokens, testing different passphrases. I also waited a little longer after creation to eliminate the possibility that the issue was on OKX’s side. I believe that after 30 minutes, the API key should be properly propagated on their side, but it still didn’t work.