Skip to main content

Why do I see the error 'Unauthorized method' on Coinbase Advanced?

This error means your Coinbase Advanced connection has expired. Reconfigure Fast Connect in your Base config to restore access and continue trading.

Written by Pete Darby
Updated over 2 weeks ago

This error means your Coinbase Advanced connection to Cryptohopper has expired or lost authorization. You need to reconfigure your Coinbase Fast Connect to restore access and continue trading.

What causes this error?

Coinbase periodically revokes API access tokens. When this happens, your trading bot loses permission to place or retrieve orders, and the Unauthorized method error appears in your bot output.

How to fix it

  1. Go to your Base config.

  2. Click Fast Connect and follow the steps to reconnect your Coinbase Advanced account.

  3. Before reconnecting, remove your existing open orders from Cryptohopper by clicking Info > Actions > Remove. This prevents order conflicts after reconnection.

Verify it is fixed

After completing Fast Connect, check your bot output. If the Unauthorized method error no longer appears and your bot resumes placing orders, the issue is resolved.

Example error message

This is what the error looks like in your trading bot output:

05/16/2024 8:59:32 AM ERROR Error placing sell order, Position: 139941567 data: {"orderNumber":null}

05/16/2024 8:59:31 AM INFO Coinbase Advanced JSON decode error: Unauthorized method: /brokerage/orders/historical/batch uri: "https://api.coinbase.com/api/v3/brokerage/orders/historical/batch?product_id=RNDR-USDT&order_status=OPEN" req: {"product_id":"RNDR-USDT","order_status":"OPEN"}

05/16/2024 8:59:29 AM INFO Coinbase Advanced JSON decode error: Unauthorized method: /brokerage/orders/ uri: "https://api.coinbase.com/api/v3/brokerage/orders/" req: {"side":"SELL","product_id":"RNDR-USDT","client_order_id":"ch80686416278696645aed0aa4a15.73597380","order_configuration":{"limit_limit_gtc":{"base_size":"14.11","limit_price":"10.7082"}}}

Still seeing the error?

If the error persists after following these steps, contact support via live chat or [email protected].

Did this answer your question?