Versions Compared

Key

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

...

Info
titleFinding the detailed error message is important!

In DSpace 7, there are two main places where detailed error messages may be found. It is important to locate these detailed error messages in order to debug any issues you are seeing, as the error which displays in a User Interface error popup is usually a generic message.

  1. In your web browser's DevTools when running the User Interface - Because the v7 User Interface is built on Javascript (Angular.io), some errors are only visible in your browser (and therefore will never appear in log files). See "Finding the Error Message in the User Interface" below.
  2. In the backend's log files - Some errors (especially 500 responses/errors) will result in the error message being logged to your dspace.log or Tomcat logs. See "Finding error messages in the REST API logs" below.

Once you locate the detailed error, see the section on "Found an error message! Now what?" below.

Finding the Error Message in the User Interface (Try this first!)

In DSpace 7, the User Interface is built on Javascript (Angular.io).  This means that some errors are only visible in your browser (and therefore will never appear in log files).

...