You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
following the first example it gets successfully authenticated but when it come to the getPositions() i get TypeError [ERR_HTTP_INVALID_HEADER_VALUE]: Invalid value "undefined" for header "X-AuthenticationSession". any idea of how to solve it?
[nodemon] starting `node ./src/server.js`
Authenticated
TypeError [ERR_HTTP_INVALID_HEADER_VALUE]: Invalid value "undefined" for header "X-AuthenticationSession"
at ClientRequest.setHeader (node:_http_outgoing:606:3)
at new ClientRequest (node:_http_client:271:14)
at Object.request (node:https:360:10)
at C:\Users\tyson.la\Projects\tensai-vexa-api\node_modules\avanza\dist\index.js:53:23
at new Promise (<anonymous>)
at request (C:\Users\tyson.la\Projects\tensai-vexa-api\node_modules\avanza\dist\index.js:52:10)
at C:\Users\tyson.la\Projects\tensai-vexa-api\node_modules\avanza\dist\index.js:934:9
at new Promise (<anonymous>)
at Avanza.call (C:\Users\tyson.la\Projects\tensai-vexa-api\node_modules\avanza\dist\index.js:930:12)
at Avanza.getPositions (C:\Users\tyson.la\Projects\tensai-vexa-api\node_modules\avanza\dist\index.js:600:17) {
code: 'ERR_HTTP_INVALID_HEADER_VALUE'
}
The text was updated successfully, but these errors were encountered:
following the first example it gets successfully authenticated but when it come to the getPositions() i get TypeError [ERR_HTTP_INVALID_HEADER_VALUE]: Invalid value "undefined" for header "X-AuthenticationSession". any idea of how to solve it?
The text was updated successfully, but these errors were encountered: