Skip to main content

i'm attempting to use Esri ArcGIS Feature Service Reader and it is secured in fme 2018.1 it gives me this error (This may be a temporary server issue, or insufficient permissions. The error code from the server was '499' and the message was: 'Token Required' ).

Any guidance is much appreciated!

There are several things "we" would need to know first.

1. Are you using Active Directory or ArcGIS Server based security

2. Is your Portal and Server both on the same server (Typical ArcGIS Enterprise installation) or are you on separated machines

3. What version of Server \\ Portal are you running

4. The service that was published, does it include anything like the Utility Network or Branch Versioning

I just resolved this for an organization that is running 10.6.1 with ArcGIS Pro and the Utility network using with Branch Versioning and a redirected security authentication. In this case I had to abandon the ArcGIS Portal \\ Server Feature Reader and adopt the http caller. The reason being, I had to request a token from the ArcGIS Server machine itself where the REST was being hosted instead of the ArcGIS Portal server. Safe is actually working on a fix for this in 2019.1 but the HTTP Caller is amazing in performance.


There are several things "we" would need to know first.

1. Are you using Active Directory or ArcGIS Server based security

2. Is your Portal and Server both on the same server (Typical ArcGIS Enterprise installation) or are you on separated machines

3. What version of Server \\ Portal are you running

4. The service that was published, does it include anything like the Utility Network or Branch Versioning

I just resolved this for an organization that is running 10.6.1 with ArcGIS Pro and the Utility network using with Branch Versioning and a redirected security authentication. In this case I had to abandon the ArcGIS Portal \\ Server Feature Reader and adopt the http caller. The reason being, I had to request a token from the ArcGIS Server machine itself where the REST was being hosted instead of the ArcGIS Portal server. Safe is actually working on a fix for this in 2019.1 but the HTTP Caller is amazing in performance.

dellerbeck thank you for reply

1- they use ArcGIS Server based security

 

2- it is a remote arcgis server in client site

 

3- arcgis server 10.5

 

4- it is feature service and it was working perfect before they secure the service

 

5- when we access rest in web is ok with the username and password but in fme No

Try using NTLM for the authentication and if the users are on a domain (Active Directory), try domainname\\username for the username and then password for the password.


Hi @hamdyahmed,

Can you clarify a few questions

What build number of FME 2018.1 you are currently using?

 

Are you using Esri ArcGIS Server Feature Service Reader?If yes, are you using the correct URL i.e. https://servername/arcgis/services/SampleWorldCities/MapServer/FeatureServer

 

Or else sometimes after enabling SSL the URL's can change confirm that on your server admin page

 

Also, try adding the secure port numbers if https://servername:6443/arcgis/services/SampleWorldCities/MapServer/FeatureServer

 

 


dellerbeck thank you for reply

1- they use ArcGIS Server based security

 

2- it is a remote arcgis server in client site

 

3- arcgis server 10.5

 

4- it is feature service and it was working perfect before they secure the service

 

5- when we access rest in web is ok with the username and password but in fme No

@hamdyahmed any luck on this issue? I'm encountering the same problem with secured services.


@hamdyahmed any luck on this issue? I'm encountering the same problem with secured services.

Hi @mariofederis,

Have you given runneals' and rahul's suggestions a try yet and did any of those work for you? If not, would you be able to post a new question with your answers to these suggestions? You can always link this original question for context in your new post.

This will increase the visibility on your question and gather you some more ideas and answers. Thanks!


Hi @mariofederis,

Have you given runneals' and rahul's suggestions a try yet and did any of those work for you? If not, would you be able to post a new question with your answers to these suggestions? You can always link this original question for context in your new post.

This will increase the visibility on your question and gather you some more ideas and answers. Thanks!

@jovitaatsafe. My issue related to secured arcgis server feature services was answered by another post : https://knowledge.safe.com/questions/29547/arcgis-server-feature-service-reader-token-authent.html . I essentially had to use a httpcaller to generate a token, then use said token into a feature reader. Thanks for checking in.


@jovitaatsafe. My issue related to secured arcgis server feature services was answered by another post : https://knowledge.safe.com/questions/29547/arcgis-server-feature-service-reader-token-authent.html . I essentially had to use a httpcaller to generate a token, then use said token into a feature reader. Thanks for checking in.

Glad to hear it! Thanks for linking the post and sharing what worked for you!


Reply