Skip to content

[API] /users/levels/4711 returns 500 Internal server error #46721

@muhme

Description

@muhme

Steps to reproduce the issue

Run API GET call /users/levels/ID with non-existing ID, e.g.

  • Get Joomla! API Token and set as environment variable TOKEN
  • curl -kH "Authorization: Bearer $TOKEN" https://host.docker.internal:7154/api/index.php/v1/users/levels/4711

Expected result

HTTP Status 404 and error message like not found

Actual result

HTTP Status 500 Internal server error

System information (as much as possible)

  • JBT with Joomla 5.4-dev branch

Additional comments

Found in testing #46080

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions