API throws 401 unauthrorized error with access token taken from oktatstatemanager

Here is my api code,

Access token is saved once user signIn completes,

The same api works with access token generated using xamarin.openId.auth sdk. What makes the difference, how can i get the response using this access token from oktastatemanager?

Any help, please.