Coinbase exchange connection failing: API Keys not valid for spot

When connecting Coinbase API key I get the error message: API Keys not valid for spot

I have done this to other trading bot platforms and it always works quite easily.

it seems that it’s a problem with the IP whitelisting. I have used both your format on the security page as well as: 78.128.60.89/32,78.128.43.82/32,78.128.8.36/32,78.128.43.168/32,217.174.152.25/32,62.84.191.108/32,62.84.191.109/32,62.84.191.110/32,62.84.191.111/32,62.84.191.112/32

In coinbase I am unable to create spaces between each IP.

Let me know if more info is needed. (I am a total noob)

Hi Eamon — thanks for the detail, and no worries about being new to this.

Good news: this one isn’t about IP whitelisting. The message “API Keys not valid for spot” means Coinbase is reporting that the key itself doesn’t have spot‑trading access — so it’s the key’s permissions/type, not the IPs. The IP list you added is fine to leave in place, but it won’t change this particular error.

A couple of things to check on the Coinbase side when creating the key:

  1. Permissions — the key must have Trade enabled (not View‑only). A view/read‑only key will fail this check.
  2. Key type / portfolio — Coinbase now offers different key types. Please make sure it’s an Advanced Trade API key created on the portfolio that holds your spot funds. Keys tied to the wrong product (e.g. a Coinbase “App”/wallet key, or a portfolio without spot access) will report as not valid for spot.

Could you tell me: where/how did you create the key (which page on Coinbase), and which permissions you enabled? That’ll let me pinpoint whether it’s a setup step or something on our end. Thanks!

It worked, it was indeed the wrong page AND I was trying to set it up using Ed25519.

Its fixed, now I will test and see if it lives up to my standard. Looks promising!