Skip to content
This repository was archived by the owner on Feb 21, 2026. It is now read-only.

Commit faaa62b

Browse files
authored
Merge pull request #1344 from Drakkar-Software/dev
[Coinbase] add PermissionDenied error handling
2 parents 6d6a04a + e199f98 commit faaa62b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Trading/Exchange/coinbase/coinbase_exchange.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ class Coinbase(exchanges.RestExchange):
109109
# ex when trading WBTC/USDC with and account that can't trade it:
110110
# ccxt.base.errors.BadRequest: target is not enabled for trading
111111
("target is not enabled for trading", ),
112+
# ccxt.base.errors.PermissionDenied: coinbase {"error":"PERMISSION_DENIED","error_details":
113+
# "User is not allowed to convert crypto","message":"User is not allowed to convert crypto"}
114+
("user is not allowed to convert crypto", ),
112115
]
113116

114117
@classmethod

0 commit comments

Comments
 (0)