No Code Attached Yet bug Webservices
avatar muhme
muhme
20 Jan 2026

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

avatar muhme muhme - open - 20 Jan 2026
avatar joomla-cms-bot joomla-cms-bot - change - 20 Jan 2026
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Jan 2026
avatar muhme muhme - change - 20 Jan 2026
Title
[API] /users/levels/42 returns 500 Internal server error
[API] /users/levels/4711 returns 500 Internal server error
avatar muhme muhme - edited - 20 Jan 2026
avatar Fedik Fedik - change - 20 Jan 2026
Labels Added: bug
avatar Fedik Fedik - labeled - 20 Jan 2026
avatar muhme muhme - change - 20 Jan 2026
Labels Added: Webservices
avatar muhme muhme - labeled - 20 Jan 2026
avatar alikon alikon - change - 22 Jan 2026
Status New Closed
Closed_Date 0000-00-00 00:00:00 2026-01-22 08:23:32
Closed_By alikon
avatar alikon alikon - close - 22 Jan 2026
avatar alikon
alikon - comment - 22 Jan 2026

please test #46742

Add a Comment

Login with GitHub to post a comment