I'm trying to use the contract approve function, but I have this 401 error :
events.js:352 throw er; // Unhandled 'error' event ^ Error: Unexpected server response: 401 at ClientRequest. (H:\bot\pancake-swap\node_modules\ws\lib\websocket.js:604:7) Emitted 'error' event on WebSocket instance at: at abortHandshake (H:\bot\pancake-swap\node_modules\ws\lib\websocket.js:731:15) at ClientRequest. (H:\bot\pancake-swap\node_modules\ws\lib\websocket.js:604:7)
Does someone know what's wrong?
debug.traceTransaction()to find out whats wrong – Nulik Jul 29 '21 at 18:04