Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Authentication >

Access token doesn't work

Started by Kevin Shinn -   in API Authentication

I tried to generate an access token on Insomnia as the Xero walkthrough video shows. But why does my access token always expire instantly and have the 0-second duration.

expires Mon, 27 Jun 2022 23:53:04 GMT
date Mon, 27 Jun 2022 23:53:04 GMT

The expired date and generated date are always the same.
Are you using our Insomnia collection from this link Xero Insomnia collection?

You can also try this using our Postman collection - Xero Postman tutorial
 

Sally C (Community Manager)