-
Notifications
You must be signed in to change notification settings - Fork 41
Coinbase API #1
Comments
Error I have is PHP Fatal error: Uncaught exception 'GuzzleHttp\Exception\ClientException' with message 'Client error: |
Have confirmed API Key and secret are in config and active on coinbase. |
If I use V1 Key set to "all". PHP Fatal error: Uncaught exception 'GuzzleHttp\Exception\ClientException' with message 'Client error: |
It's definitely an API mismatch. Enable all V2 and V1 coinbase options and it's talking to V2 while using V1. I think you could specify the API version to use in the request but that's one of the composer dependencies? PHP Fatal error: Uncaught exception 'GuzzleHttp\Exception\ClientException' with message 'Client error: API version is generally passed as a CB-VERSION header. If the API version is omitted, the version displayed below will be used. API Version: 2017-04-18 YOU'RE UP-TO-DATE |
Related: coinbase/coinbase-php#114 |
Alright we will figure this out. I only enabled the V2 API for the key I used, didn't even expand the V1 info in the dialogue.
|
It happens with
Gave access to all wallets. Have not renamed any. I'm in the UK so I have a GBP and EUR wallet if that makes a difference. |
|
|
upgrade to the latest version that might fix it since the code is now looking for the wallets by currency rather by name like in the old version. If the bug still persists, please send the first few lines from the debug output of /var/log/phptrader.log |
Thanks git pull to recent version and a new API key and it's working. |
Hey just wanted to check if I should enable permissions for V1 or V2 coinbase API? You might want to also add that it takes 48 hours for coinbase to enable a new API key.
The text was updated successfully, but these errors were encountered: