Unleash/unleash-client-node

Code 401 after updating from 3.40 to 3.8.0.

AlexanderN8 opened this issue · 4 comments

After updating client-node version from 3.4.0 to 3.8.0 same code return:
Response was not statusCode 2XX, but was 401

Thank you.

@AlexanderN8

Which version of Unleash are you using?

Can you share your configuration?

fyo: until unleash-client 3.4 we used request module, which have been deprecated.

now unleash-client uses make-fetch-happen.

Can it be that you do any "request" magic behind the scenes?

@ivarconr Thank you for the quick response. Indeed we have a proxy that adds tokens to headers. Is it really a different request from a proxy point of view?

depends on how you intercept the call.