New Coinbase API
-
- Posts: 4
- Joined: Thu Apr 18, 2024 4:35 pm
New Coinbase API
Hi,
Coinbase has updated its API and it seems that it is no longer compatible with Bookmap.
Can anyone validate? (APIs generated before the change still work, but new ones don't) I can't get a connection in Bookmap.
Thank you
Coinbase has updated its API and it seems that it is no longer compatible with Bookmap.
Can anyone validate? (APIs generated before the change still work, but new ones don't) I can't get a connection in Bookmap.
Thank you
Last edited by piro21343243 on Tue Apr 30, 2024 4:21 pm, edited 1 time in total.
Re: New Coinbase API
Hi,
Thank you for the report.
I checked the connectivity with new API Key and it doesn't work, so we indeed need to update our Coinbase integration in order to be compatible with new API Keys.
We will update our integration and post a reply here when it's done.
Thank you for the report.
I checked the connectivity with new API Key and it doesn't work, so we indeed need to update our Coinbase integration in order to be compatible with new API Keys.
We will update our integration and post a reply here when it's done.
Re: New Coinbase API
Hi,
The integration has been fixed. It should now work with both old and new API keys.
The integration has been fixed. It should now work with both old and new API keys.
-
- Posts: 4
- Joined: Thu Apr 18, 2024 4:35 pm
Re: New Coinbase API
Last edited by piro21343243 on Tue Apr 30, 2024 4:23 pm, edited 1 time in total.
Re: New Coinbase API
Hi,
Yes, you should copy/paste the whole "name" as API key and whole "privateKey" as API secret.
These fields are present in the "coinbase_cloud_api_key.json" file that Coinbase downloads automatically when you create a new API key.
Also, if you have provided a real Private key in the example, please invalidate it in Coinbase, since it's a security risk for you. These keys should not be shared with anybody.
Yes, you should copy/paste the whole "name" as API key and whole "privateKey" as API secret.
These fields are present in the "coinbase_cloud_api_key.json" file that Coinbase downloads automatically when you create a new API key.
Also, if you have provided a real Private key in the example, please invalidate it in Coinbase, since it's a security risk for you. These keys should not be shared with anybody.
-
- Posts: 4
- Joined: Thu Apr 18, 2024 4:35 pm
Re: New Coinbase API
hi andriil,
thank you for the info, it doesn't work for me not sure why but this the error : Unable to login. Error parsing API secret. Please check your credentials. I've tried several sets of keys and reinstalled Bookmap.
No, the private key is a fake
thank you for the info, it doesn't work for me not sure why but this the error : Unable to login. Error parsing API secret. Please check your credentials. I've tried several sets of keys and reinstalled Bookmap.
No, the private key is a fake
Re: New Coinbase API
The new line symbols "\n" should be copied as is. There is a possibility that file interpreter that you are using is copying those as separate symbols "\" and "n". If that is the case, you can create a text file, manually replace "\n" symbols with new lines and then copy-paste the result.
Also, we will think about the ways to improve this flow in the future. Maybe the option of selecting a credentials file would be good.
Also, we will think about the ways to improve this flow in the future. Maybe the option of selecting a credentials file would be good.
-
- Posts: 4
- Joined: Thu Apr 18, 2024 4:35 pm
Re: New Coinbase API
Hi,
I've just tried this method and other similar variants.
It ends up crashing bookmap with a critical error.
"A Critical error has occured.
Restarting Bookmap is recommended, since potential effects can't be predicted.
However, you can try to continue at your own risk (not recommended if Bookmap is connected to any live trading accounts)"
Let me know if you want the full report.
Thank you
I've just tried this method and other similar variants.
It ends up crashing bookmap with a critical error.
"A Critical error has occured.
Restarting Bookmap is recommended, since potential effects can't be predicted.
However, you can try to continue at your own risk (not recommended if Bookmap is connected to any live trading accounts)"
Let me know if you want the full report.
Thank you
Re: New Coinbase API
Yes, please reach out to support regarding this at [email protected]. We will need to see log files to investigate the issue, support is going to be able to assist you on where to find them. Feel free to attach this forum thread as a point of reference.
Re: New Coinbase API
Hi,
We have updated the integration to support the case when secret key has "\n" as two separate symbols. It should now be possible to copy and paste the key from browser or text editor without the issue.
We have updated the integration to support the case when secret key has "\n" as two separate symbols. It should now be possible to copy and paste the key from browser or text editor without the issue.