Resolve Error: "USER ERROR Oauth:token_expired" via POSTman
Published on
January 30, 2024 at 2:43:27 AM PST January 30, 2024 at 2:43:27 AM PSTth, January 30, 2024 at 2:43:27 AM PST
Scenario
User is encountering error: "USER ERROR - Oauth:token_expired" when sending web services request via POSTman.
Solution
Even when re-generating the consumer keys and token keys, the error is still occurring. As observed, it has something to do with how POSTman is generating its keys for the Token Passport header. POSTman has the ability to generatenonce, timestamp,andsignatureand these are used as authorization keys to submit a valid request.
To confirm this, user can try generating the three values using Powershell instead. Get the returned values and use these to submit a valid request in POSTman.
If the response is successful, it is confirmed that the error is triggered because of how POSTman is generating the keys.