Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • A possible configuration issue in the frontend or backend.
    • Check the "rest" section of your environment.*.ts configuration file for the User Interface.  That configuration section defines which REST API the UI will attempt to use.  If the settings do NOT map to a valid DSpace REST API, then you will see this "No _links section found.." error.
    • Check the "dspace.ui.url" configuration of your backend & verify it corresponds to the public URL of the User Interface (i.e. the exact same URL you use in your browser)
  • A possible SSL certificate issue. This issue may also appear if the REST API's SSL Certificate is either untrusted (by the frontend) or expired.  See also "Using a Self-Signed SSL Certificate causes the Frontend to not be able to access the Backend" common issue listed below.
  • Something blocking access to the REST API. This may be a proxy issue, a firewall issue, or something else generally blocking the port (e.g. port 443 for SSL).
    • Verify that you can access the REST API from the machine where Node.js is running (i.e. your UI is running).  For example try a simple "wget" or "curl" to verify the REST API is returning expected JSON similar to our demo API at https://api7.dspace.org/server/api

      Code Block
      # Attempt to access the REST API via HTTPS from command-line
      # on the machine where Node.js is running.
      # If this fails or throws a SSL cert error, you must fix it.
      wget https://[rest.host]/server/api


    • In most production scenarios, your REST API should be publicly accessible on the web, unless you are guaranteed that all your DSpace users will access the site behind a VPN or similar.  So, this "No _links section found" error may also occur if you are accessing the UI from a client computer/web browser which is unable to access the REST API.

If none of the above suggestions helped, you may want to look closer at the request logs in your browser (using browser's Dev Tools) and server-side logs, to be sure that the requests from your UI are going where you expect, and see if they appear also on the backend.  Tips for finding these logs can be found in the "DSpace 7.x" section of our Troubleshoot an error guide.

"RangeError: Maximum call stack size exceeded"

...