REST API access token becomes invalid before its expiration time. | Community
Skip to main content
October 10, 2014
Question

REST API access token becomes invalid before its expiration time.

  • October 10, 2014
  • 2 replies
  • 1756 views
Hi,

Working with REST for Marketo, sometimes the access token becomes invalid before its expiration time (got response with error code 601 - Access token invalid: http://developers.marketo.com/documentation/rest/error-codes/  )

Does anyone also encounter this? What we might have done wrong?

Thanks, 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Kenny_Elkington
Adobe Employee
Adobe Employee
October 10, 2014
Hi Allan,

Is it possible that you're requesting a new token during the live period for existing one from the same client id?  This could cause extant tokens to become invalid.
October 10, 2014
The token expires after 60 minutes. As Kenny mentioned, if you are requesting a second token before first token expires, then the first token becomes invalid.