1

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.

Vince
20.5k16 gold badges49 silver badges65 bronze badges
asked Nov 24, 2021 at 15:51
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) Commented Nov 24, 2021 at 20:16
  • In QGIS, the URL of the service connection should not contain a token. Commented 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.

answered Nov 25, 2021 at 9:58

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.