Hallo,<\/P>
ik wil de URL van een functie op ArcGis Online bijwerken.<\/P>
Maar ik krijg het antwoord:<\/P>
Token vereist.<\/P>
<\/P>
Wat kan ik doen, ik moet een domein aanpassen.<\/P>
Dank u<\/P><\/BODY><\/HTML>
Hi Catherine,
In order to access the admin of a hosted feature service, you must provide authentication in the form of a token.
To generate a token, you can copy one that is generated from signing into ArcGIS Online using a web debugger like fiddler or developer tools.
The Screenshot below shows how to get a token using fiddler:
Then construct your url to include the token:
http://services.arcgis.com/Wl7Y1m92PbjtJs5n/arcgis/admin/services/Yeti.FeatureServer?token=3Imzhcq47bHzbDpy9RjRZYApA03m8…
Cheers,
Kelly
Hello - I am also receiving the error 'Token Required'. I am replicating a hosted feature layer, I am the owner, and I am the administrator. The replication begins and runs for about 20 minutes, then I get the 'Token Required' error. I am signed in, looking at the URL, I do see a token listed. I've done the thing where I add 'admin' between rest and services but I don't see an option in there to replicate. I have about 300-350 point features but I have a few thousand photo attachments. Is it timing out? I need to create a delivery for a customer so I need to get this figured out asap. Any help would be appreciated.
-Katy
This worked great for me when I needed to get s token to edit the max record count (using this support documentation: https://support.esri.com/en/technical-article/000012383) ; however, ever since then, enabling/disabling edits no longer functions. I discovered that a layer that should be locked down for editing has been open. Has anyone else noticed this behavior?
I was coming across this token error as well and tried following some of these instructions and just got lost...
But, what worked for me was, logging into AGOL as an admin, going to the hosted feature layer's page in my Content, and clicking on the "Service URL" link from one of my Layers in the list.
From there, I was able to see a generated token in my URL
After that, I inserted "admin/" in between "/rest/" and "services". And I was able to mess with the JSON of the feature service.
Hi,
it's a feature layer hosted on ArcGIS Online . I'm the owner of feature layer.
I want go to URl to edit somme domain. This is the error:
I add word "admin" between rest and service in the URL to modify the domain in the code.
When i push F12:
Thank to try to help me.
Catherine,
There are several sets of tools on Github that will help you with administering ArcGIS Online services, including:these two.
Esri/ago-tools · GitHub
ArcGIS Online Assistant
If you are getting a token error, it sounds like the service is secure. Is it hosted on ArcGIS Online or on a local ArcGIS Server? Are you the owner of the services? A you trying actual URL only, or change the service?
It might help if you can give a little more detail on he steps you are trying, and if you provide a snapshot of the exact error. There are also tools within browsers (usually F12) that can provide additional detail on the error to help in the debugging. If you see an error in the console, providing that info will also help others help diagnose the token error.
not work ???
User identity is established through a login process that always takes place over an encrypted connection (HTTPS using Secure Sockets Layer, or SSL). Subsequent transactions require the token acquired at sign in and can take place over encrypted or unencrypted connections.
Source: Hosted web layer security—ArcGIS Online Help | ArcGIS
Are you logged in to ArcGIS Online? Is the service shared with you?
Instructions can be found in this PDF:
http://blogs.esri.com/esri/arcgis/files/2014/10/How-to-Update-Hosted-Feature-Service-Schemas1.pdf
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.