Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-144455

Headless APIs returning 500 error code for unauthorized access

    Details

      Description

      When performing a request to a Headless API without authentication (or with the wrong credentials) instead of answering with a 403/404 error, the system is answering with a 500 error code.

       

      Steps to reproduce:

      1.- perform a GET request to http://localhost:8080/o/headless-delivery/v1.0/sites/Guest/structured-contents

      The same happens for other endpoints.

       

      Current result:

      1.- 500 error is returned.

       

      Expected:

      • Check previous behavior, not sure if we were returning an empty list, 404, or 403

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marcell.weller Marcell Weller
              Reporter:
              pablo.agulla Pablo Agulla
              Participants of an Issue:
              Recent user:
              Clarissa Velazquez
              Engineering Assignee:
              Victor Galan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                23 weeks, 3 days ago

                  Packages

                  Version Package
                  7.4.3.8 CE GA8
                  7.4.13 DXP U4
                  Master