REST API access token becomes invalid before its expiration time.

Anonymous
Not applicable

REST API access token becomes invalid before its expiration time.

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

Re: REST API access token becomes invalid before its expiration time.

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.
Anonymous
Not applicable

Re: REST API access token becomes invalid before its expiration time.

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.