You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

createoauthtoken Key not valid for use in specified state error

edited Nov 9, 2026 2:52PM in EPM Platform and Freeform 6 comments

Summary:

The OAUTH token for an integration agent that was working expired and started getting "The token has already been consumed" error. When trying to create a new OAUTH token, it is giving "Key not valid for use in specified state" error after authenticating the user code. There are other agents that are working fine for which the token was created before upgrading the agent to 26.10. I have upgraded both epmautomate and Integration agent to 26.11. I am still getting the error.

Here is the exact error I am getting in the Windows Command prompt

Key not valid for use in specified state.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!