401 Content access is protected by token when accessing repositories

Symptom

When trying retrieve protected repository content using valid credentials, requests may still fail with an HTTP status code 401 authentication failure. The response HTTP response status line will contain a very specific message:

401 Content access is protected by token

Cause

NXRM has a feature called User Tokens. An Administrator may configure this feature to deny all repository requests without a user token style name and passcode credential. This setting is intended to enforce that users do not use plain organization username and passwords so that the risk of exposing those sensitive enterprise credentials is reduced.

Solution

User

Follow the instructions to access your user token and configure your build tool to use the user token name and pass code NXRM provides.

Administrator

If this feature was accidentally enabled, consider disabling the feature to allow all forms of credentials to be used to authenticate for repository content requests.

To disable requiring user tokens for repository authentication:

  1. Sign-in as a NXRM admin user.
  2. Go to Administration -> Security -> User Token. 
  3. NXRM 3: Uncheck the box that says Require user tokens for repository authentication . 
    NXRM 2: Uncheck the box that says Protect Content . 
  4. Click Save.
Have more questions? Submit a request

0 Comments

Article is closed for comments.