Postman collection running pass but newman running fail

When I run my collection from postman it works, but when I run it with newman it some request gets the “401 - Unauthorized” error.

the same token was used in both request when i checked

success request token image ;

fail request token image;

I also exported token as variable via environment.

thank you for the help

Note: Have already looked at the similar posts regarding this in the community but no help