0

How connecting a ArcGIS feature service with a authentication/username? The link looks like this: https://services1.arcgis.com/code/ArcGIS/rest/services?token=rzJ3BnGbFKOyS7vaMeXnD_yuS_DMm4pTV3EOsf Notice the token. Trying this, several times, in QGIS 3.14, I get a failure every time. Connecting without authentication it isn't a problem.

2
  • 1
    Are you passing a username and password in through your connection? Tokens are short lived and can't be passed around. If you're the exact link you've posted, that token is probably past its lifespan an will need to be renewed (re-authenticate)
    – KHibma
    Nov 24, 2021 at 20:16
  • In QGIS, the URL of the service connection should not contain a token.
    – nr_aus
    Nov 25, 2021 at 2:59

1 Answer 1

0

Thanks for the tips: The result is that one has to use the first part of the code, without the token cfr https://services1.arcgis.com/code/ArcGIS/rest/services? and then add authentication. (username/password)

The feature service can now be added to the map.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.