Select to view content in your preferred language

498 Invalid Token

1036
1
02-20-2013 10:01 AM
GregWietholter
Emerging Contributor
I'm attempting to utilize the vrp ('Vehicle Routing Problem Service') within the Network Analysis Services.  I am successfully able to generate a token.  However, when I attempt to call to the vrp service and use that token, I get a '498 - Invalid Token' message. 

I'm certain the token was created with proper credentials, and is not expired as it is newly generated. 

Therefore, my guess is that the 'referer' property might be the issue.  For the token request I issue a referer value (let's say MyRefererValue) in both the generated url and also in the request's 'referer' property.  Then in the vrp call I of course use the token and I also set the request's referer property to the same value (let's say MyRefererValue).

Do you feel this is indeed related to the referer or could there be another cause of this 498?  Any help or guidance would be greatly appreciated.

-Greg
Tags (2)
0 Kudos
1 Reply
MikeMinami
Esri Notable Contributor
I suggest you try posting this question in one of the developer API forums, depending on what you're coding in...like the JavaScript API or FLEX API forums...

Thanks,

Mike
0 Kudos