Why can't I view my Content Library?

Overview

This article explains access issues while viewing the content library. One of the error messages you will encounter is: "Cannot retrieve the types: undefined".

 

Prerequisites

 

Diagnosis

Being unable to access the Content Library can be due to multiple factors and receiving the "Cannot retrieve the types: undefined" error message :

  • Communication issues between the server and the microservices server being able to establish a secure connection.
  • A mismatch or invalid tenant ID.
  • The Microservices server is down.

 

Solution

Communication Issues

Users may run into issues with DNN after changing to TLS 1.2 connecting to/passing information to third-party services or systems. On checking the error logs, the following will be seen in the DNN log files (Root/Portals/_default/Logs folder):

Error: The underlying connection was closed: An unexpected error occurred on a receive. The client and server cannot communicate, because they do not possess a common algorithm.

Follow this KB.

 

Invalid Tenant ID or Mismatch

Each microservice instance is linked to a unique tenant ID, there may be a mismatch of tenant IDs between the DNN environment ID and the DNN Microservice ID. You will need to reset the Content Library to restore the content.

 

To reset the Content Library:

  1. You will need to first Disable Microservices for the Content library.
  2. After disabling the content library, you will now need to access the Content Library again by going into Content > Content Library.
  3. From here you will be brought to the Opt-In screen once again, you will need to click next.2020-09-17_15_26_38-Window.png
  4. Click "Enable Feature".

If the Content Library is still not accessible or the content is empty. You will need to submit a copy tenant request to Support.

 

Microservices server is down

When the Microservices server is down, the DNN application will not be able to populate the Content Library list. Our SaaS Team will be monitoring the status of the microservice on a 24/7 basis and will resolve outages in less than 24 hours.

 

You can test the uptime of the Content library by accessing "https://dnnapi.com/content/api/version".

If you can see a version number when you access the URL, this will mean that the Microservices server does not have a current outage.

For example:

{
  "version": "1.27.0.0"
}

 

Testing

To test that this issue has been resolved:

  • Go to Content > Content Library and open the Content library feature and see if the error message appears.

Comments

0 comments

Please sign in to leave a comment.