Legacy API keys are not working with Advanced API from 27th

It seems Advanced-API keys are now renamed to Legacy API keys in the documentation and they are not working anymore. I keep getting 403 error for the same keys. See the following logs for the exact timestamp:

2024/02/27 11:51:56.186707 a371792a-3093-4a7e-ae2c-38e45b90979c/loop-000001/buy-000001:BUY:0.2@3025.00: created a new limit order eec8179f-7aba-4792-a98f-38dc2cefc0e5 with client-order-id 72d152d3-c858-7243-2df7-d91f851ec976 (274) in 448.141845ms
2024/02/27 11:51:59.394830 a371792a-3093-4a7e-ae2c-38e45b90979c/loop-000001/buy-000001:BUY:0.2@3025.00: created a new limit order 7fd472be-f7d1-40a4-83a1-886e7fa0eff4 with client-order-id 08ba4b74-fdcb-e14f-cba9-e1d162a3c036 (275) in 406.558002ms
2024/02/27 11:52:09.908543 a371792a-3093-4a7e-ae2c-38e45b90979c/loop-000001/buy-000001:BUY:0.2@3025.00: created a new limit order fb50ecda-2f13-43f7-a701-c2a8d8978033 with client-order-id 8740caeb-df5b-c478-88cb-ee89e2b5204b (276) in 409.626605ms
2024/02/27 11:52:22.362630 ERROR http POST is unsuccessful status=403
2024/02/27 11:52:22.362691 a371792a-3093-4a7e-ae2c-38e45b90979c/loop-000001/buy-000001:BUY:0.2@3025.00: cancel limit order fb50ecda-2f13-43f7-a701-c2a8d8978033 has failed: http POST returned 403
2024/02/27 11:52:22.362741 limit-buy 2 has failed (retrying): http POST returned 403
2024/02/27 11:52:23.363129 a371792a-3093-4a7e-ae2c-38e45b90979c/loop-000001: current holding size 0.2-0.2=0 is less than buy size 0.2 (starting a buy)
2024/02/27 11:52:23.363263 a371792a-3093-4a7e-ae2c-38e45b90979c/loop-000001/buy-000001:BUY:0.2@3025.00: started limiter job
2024/02/27 11:52:23.528548 a371792a-3093-4a7e-ae2c-38e45b90979c/loop-000001/buy-000001:BUY:0.2@3025.00: reusing existing order fb50ecda-2f13-43f7-a701-c2a8d8978033 as the active order
2024/02/27 11:52:23.834823 ERROR http POST is unsuccessful status=403
2024/02/27 11:52:23.835010 a371792a-3093-4a7e-ae2c-38e45b90979c/loop-000001/buy-000001:BUY:0.2@3025.00: cancel limit order fb50ecda-2f13-43f7-a701-c2a8d8978033 has failed: http POST returned 403
2024/02/27 11:52:23.835070 limit-buy 2 has failed (retrying): http POST returned 403

Iā€™m also using the legacy key and have experienced issues creating orders. However, it was due to the accounts/currencies not being available. Nothing to do with the auth itself. Try and log the errors from the order process.

Ok, I found the issue. Coinbase has retired their previously working endpoint https://coinbase.com/... in favor of https://api.coinbase.com/....

1 Like