“Cannot read property ‘masterkey’ of undefined” is a common error we can get when running Gunbot, but, what does it mean? How to fix it?
This error appears when you haven’t set Api key and secret fields. Maybe for some reason the exchange details were not saved or weren’t entered properly. Be sure to fill those fields. Also, in the case your Gunbot version doesn’t run an encrypted config.js file, you can fill your api and secret fields directly from config.js.