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.

From the screen shot it would appear that there is a token stored.
It is the API service which is returning the 401. If you look at both tokens at https://jwt.io do you see any difference. Do they have the same values for the issuer, audience, and scope values?