ehtroyas-esri-ireland-ie-esridist

Too big expires response

Discussion created by ehtroyas-esri-ireland-ie-esridist on Mar 6, 2014
Latest reply on Mar 7, 2014 by rlwatson
Hi All!

I have problem when I generate a token with this endpoint 'https://www.arcgis.com/sharing/rest/generateToken'

It doesn't matter what I pass to 'expiration' parameter than I receive very big values for 'expires'

{
  "token": "<token generated>",
  "expires": <date shown in UNIX time>
  "ssl": false | true
}

I receive this timestamp in "expires" property-> 13941214241 translates to Wednesday, October 12th 2411, 15:30:41 (GMT) when the maximun should be 15 days.

More information here http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r3000000m5000000

Thanks!!
Ekiatz

Outcomes