Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Authentication >

Token is not valid yet while connecting with XOAuth

Started by Ben Sudbury -   in API Authentication

Hi There,

I am trying to migrate a private application to the new OAuth 2.0 flow and have hit a road block while trying to set up an access token for M2M communication.

I setup my connection in XOAuth but when I run XOauth connect <myconnection> the browser window opens but the response I receive after logging in is "Token is not valid yet".

I tried logging out and back in again and deleting the connection, not sure what else to try.
I'm getting the same response. I did have it working last week but now...

Kent Gorrell