Page 1 of 1

New Coinbase API

Posted: Thu Apr 18, 2024 6:19 pm
by piro21343243
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

 

Re: New Coinbase API

Posted: Mon Apr 22, 2024 9:19 am
by andriil
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.

Re: New Coinbase API

Posted: Fri Apr 26, 2024 9:40 am
by andriil
Hi,

The integration has been fixed. It should now work with both old and new API keys.

Re: New Coinbase API

Posted: Fri Apr 26, 2024 2:09 pm
by piro21343243
                                                                                                            

Re: New Coinbase API

Posted: Mon Apr 29, 2024 10:42 am
by andriil
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.

Re: New Coinbase API

Posted: Mon Apr 29, 2024 7:37 pm
by piro21343243
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
 

Re: New Coinbase API

Posted: Tue Apr 30, 2024 9:00 am
by andriil
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.

Re: New Coinbase API

Posted: Tue Apr 30, 2024 1:21 pm
by piro21343243
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

Re: New Coinbase API

Posted: Tue Apr 30, 2024 1:35 pm
by andriil
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

Posted: Thu May 02, 2024 8:45 am
by andriil
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.