Hello all:
We are attempting to integrate our inventory software platform with AGOL. This really only requires that we upload a CSV with location information then replace a feature service. We have been able to successfully generate an access token with the client id and secret but after we get the token, ANY request we attempt returns a 498 Invalid Token (Which seems to be ALL over the community???). I'm certain we are doing something wrong but scrolling all over several posts has only revealed this issue has thousands of causes!!!
This is our request (Simply trying to get user info):
https://www.arcgis.com/sharing/rest/content/users/" + Uri.EscapeDataString("myemail@mydomain.com") +"?f=json&token=" + Uri.EscapeDataString(settings.token.access_token)
Which returns 498 invalid token and no details.
Thanks in advance
Marshall
Hey @MarshallEllis
For the initial AGOL link, are you using https://www.arcgis.com/sharing/rest/content/users/ or are you using your companies <company>.maps.arcgis.com/sharing/rest/content/users/?
Cody
Cody:
Not sure I understand the question on the initial link. Do you mean getting the token?
This is what we use to get the token:
"https://www.arcgis.com/sharing/rest/oauth2/token/"
Thank you
Marshall