Skip to main content
Question

Is a dash in an ArcGIS Server Feature Service URL a no-no?

  • June 5, 2018
  • 5 replies
  • 72 views

aaron
Contributor
Forum|alt.badge.img+12

I am trying to add an ArcGIS Server Feature Service reader to my workspace but get the following error when I click to get the Layer List: Python Exception <HTTPError>:401 Client Error: Unauthorized. I suspect the issue is a dash in the URL, which goes something like https://server-new/arcgis/rest/services/MyMapService/MapServer. I can't add any of the map services from this ArcGIS Server. However, we have several other ArcGIS Server environments and I don't get the error with any of them (and none have dashes in their names). Could the dash be the issue? (FME Desktop 2016.1 - build 16492)

Thanks,

Aaron

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

david_r
Celebrity
  • June 6, 2018

Is the dash in the server-name as in your example? If so, I don't think that should be the issue.


aaron
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • June 6, 2018

Is the dash in the server-name as in your example? If so, I don't think that should be the issue.

Yes, the dash is in the server name as in the example above. I have six other ArcGIS Server environments, no dash in the server names, and have no issues. The environments are configured pretty much the same. Other than the dash, I don't know what the cause of the error might be. I'm open to suggestions.

david_r
Celebrity
  • June 7, 2018
Yes, the dash is in the server name as in the example above. I have six other ArcGIS Server environments, no dash in the server names, and have no issues. The environments are configured pretty much the same. Other than the dash, I don't know what the cause of the error might be. I'm open to suggestions.
I'm using FME to read from several ArcGIS Server instances (Feature Services) with multiple dashes in the machine name, I've never encountered any problems in that regard.

 

I would suspect the problem to be elsewhere.

aaron
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • June 7, 2018
I'm using FME to read from several ArcGIS Server instances (Feature Services) with multiple dashes in the machine name, I've never encountered any problems in that regard.

 

I would suspect the problem to be elsewhere.
Thanks for the info @david_r. I will look elesewhere for the cause.

 


runneals
Supporter
Forum|alt.badge.img+29
  • Supporter
  • December 19, 2018

This issue occurs on ArcGIS Online, which I suspect might be similar to the issue that you're having. It seems like it's an authentication issue. Are your services secured or completely public? https://knowledge.safe.com/questions/57120/error-reading-arcgis-online-agol-feature-layer.html