GUNBOT: The automatic profit generator > Technical Support & Development

Error: Cannot use 'in' operator to search for 'message' in undefined


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: ---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\\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\\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...
--- End code ---

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.

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.


[0] Message Index

Go to full version