{ RequestError: Requests can only be made in the LoggedIn state, not the SentClientRequest state
at RequestError (D:\Projet_Cegid\node_modules\tedious\lib\errors.js:34:12)
at Connection.makeRequest (D:\Projet_Cegid\node_modules\tedious\lib\connection.js:1108:33)
at Connection.execSql (D:\Projet_Cegid\node_modules\tedious\lib\connection.js:898:19)
at insertIntoDatabase (D:\Projet_Cegid\server.js:287:17)
at D:\Projet_Cegid\server.js:230:41
at D:\Projet_Cegid\node_modules\soap\lib\client.js:180:7
at finish (D:\Projet_Cegid\node_modules\soap\lib\client.js:411:5)
at parseSync (D:\Projet_Cegid\node_modules\soap\lib\client.js:373:12)
at D:\Projet_Cegid\node_modules\soap\lib\client.js:349:14
at Request._callback (D:\Projet_Cegid\node_modules\soap\lib\http.js:118:5)
message: 'Requests can only be made in the LoggedIn state, not the SentClientRequest state',
code: 'EINVALIDSTATE' }