REST API access token becomes invalid before its expiration time.

Anonymous
Not applicable
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, 
Tags (1)
2 REPLIES 2
Anonymous
Not applicable
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. 

Kenny_Elkington
Marketo Employee
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.