-
-
Notifications
You must be signed in to change notification settings - Fork 357
Closed
Description
Shlink version
4.4.3
PHP version
8
How do you serve Shlink
Docker image
Database engine
PostgreSQL
Database version
16.4
Current behavior
When attempting to call the REST API via /rest/v3/visits/non-orphan
using an API key with the role Author only
,
the server responds with a 500 error code.
The error message states:
[Semantical Error] line 0, col 92 near 's.author Api Key': Error: 's' is not defined. in /etc/shlink/vendor/doctrine/orm/src/Query/QueryException.php:28
Expected behavior
Return non-orphan visit data corresponding to the API key
Minimum steps to reproduce
Generate an API key with Author only
Role.
Call the API.
acelaya