401 (Unauthorized)

Hi everyone i’m getting 401 unauthorized despite that im writing a clean code i try to fixed it but i faced a problems with it.if there is any help for that …

From what endpoint are you receiving a 401 and how are you calling/authorizing it?