Tests OK in Postman but KO in newman?

I have not done it myself but there is a discussion about it here.

Hope it helps.