Getting Invalid Authorization header although we provide access token

We have created access token and given in header and it is giving invalid authorization header

1 10 585
10 REPLIES 10

Not applicable

Are you sending as Bearer <token> in Authorization header?

If yes,

Is your api where validation is happening, is added to the same product as the token generation api?

Yes we are adding in header

Are you sending in Authorization header ?

Yes we have added at token genration api

Token validation api also needs to be added.

What is the grant type and what is the expiry time you have for the token.

Grant type is password and expiry time is 3600 seconds

Are you sending the username and password ? As it is password grant, it requires.

yes we are sending

Then need to see the code.