Hello to all, I am having an issue with the below error message. I have seen others have had the same problem but I have not seen a documented solution (or at least more than one).
I have recently setup a developer account as well as postman. I have imported the Okta collection API’s into postman and followed the steps to create a token and update my environment with my domain and new token.
When trying the simple get user list API, I get the below error. It seems like the message is straight forward however the token is not expired as I just created it and is valid for another 30 days so what else can make it invalid?
I am not able to see any other logs on Okta side showing the reject or reason why.
Does anyone have any other ideas about what could cause this error?
Can you please open a support ticket through an email to support@okta.com with this issue, along with the timestamp when you did the request? One of our support engineers will take the case and assist you in narrowing down the cause of the issue.
This issue was resolved. in addition to adding the API key (token) to postman key “initial value”, it needed to also be added to “current value” apparently it is not automatic
I am faceing same issue,following is my java code. inplace of apitoken we created the token in on security-api-create token and copied the same token as apii-token.
Could you please share the solution which you done ,still i am facing same issue .
following is my java code. and created api-token also in security-api-create token
Sorry I am using the oka spring boot project ,just i cloned the code from git https://github.com/okta/okta-sdk-java.git.
I will execute this and let you know if there are any issues.
Thanks Vijet for nice support,
Now it’s working fine and the problem is with domain url,we used an org name .
just we need to remove the admin and we can use the url(https://dev-726203.okta.com/ )