Username: Password:

Author Topic: Error: Cannot use 'in' operator to search for 'message' in undefined  (Read 391 times)

Offline TommyD

  • Rookie
  • *
  • Posts: 2
    • View Profile
Been a few years since running the bot. I installed the latest version v23.0.4 on Windows 10, connected to Coinbase Pro (GDAX), add a quick pair, and clicked Start. I get this message:

Code: [Select]
Loading exchange - gdax
Loading data....
TypeError: Cannot use 'in' operator to search for 'message' in undefined
    at coinbasepro.request (C:\snapshot\enricoranucci\Desktop\STABLE\node_modules\ccxt.pro\node_modules\ccxt\js\coinbasepro.js:952:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async coinbasepro.fetchMyTrades (C:\snapshot\enricoranucci\Desktop\STABLE\node_modules\ccxt.pro\node_modules\ccxt\js\coinbasepro.js:474:26)
Error: Fetching my trades again.{}
    at errorHandler (C:\snapshot\enricoranucci\Desktop\STABLE\ctx\js\gdax.js)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
Error: {}
    at errorHandler (C:\snapshot\enricoranucci\Desktop\STABLE\ctx-wrapper.js)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
Unable to connect to gdax
Please if this error persists, stop Gunbot, wait a few minutes and then start it again...

I could use a bit of help trying to unstand where I went wrong. I did delete and reinstall, and have attempted putting in Delays. But still get this message.

Offline TommyD

  • Rookie
  • *
  • Posts: 2
    • View Profile
Re: Error: Cannot use 'in' operator to search for 'message' in undefined
« Reply #1 on: August 18, 2021, 03:32:23 AM »
I figured it out. Tested my API in a different platform, and received errors. I re-entered my API, secret and passphrase again from scratch, and it is now working.