Error when editing order #56
Replies: 1 comment 3 replies
-
it sounds like an access issue, yes. Something I have noticed is that credentials need to match the portfolio where you are working. So, yeah, I'd advise you to try to play with your credentials and see if that fixes it. If your API key is for a portfolio != Default, I think you have to manually set your portfolio as part of the “retail_portfolio_id” arg in the payload (Coinbase constrain, no the library). |
Beta Was this translation helpful? Give feedback.
-
Did something change? Using the 1.1 release (everything had been working fine) I'm suddenly getting the following error:
File "/home/jonandtice/.venv/coinbaseadvanced/lib/python3.11/site-packages/coinbaseadvanced/models/orders.py", line 472, in from_response raise CoinbaseAdvancedTradeAPIError.not_ok_response(response) coinbaseadvanced.models.error.CoinbaseAdvancedTradeAPIError: {'error': 'PERMISSION_DENIED', 'error_details': 'User does not have access to portfolio', 'message': 'User does not have access to portfolio'}
Is this happening to anyone else? Do I need to generate new API keys?
Beta Was this translation helpful? Give feedback.
All reactions