[x] I have searched the issues of this repository and believe that this is not a duplicate.
What happened?
GET requests to /api/devices always result in a 500 response with the body:
{
"error": "subject must be user",
"code": 2,
"message": "subject must be user",
"details": []
}
What did you expect?
A 200 response with a list of devices
Steps to reproduce this issue
Steps:
Send a request to /api/devices with a grpc-metadata-authorization header with a valid API token (no query params, no request body)
Get a 500 response
Your Environment
Component
Version
Application Server
v3.16
Network Server
v3.14
This was raised in #530 in this comment and @brocaar asked for a separate ticket but as far as I can tell that didn't get created. As mentioned in that comment, specifying an applicationID fixes the issue, but the API docs don't mention this param being required.
What happened?
GET requests to
/api/devices
always result in a 500 response with the body:What did you expect?
A 200 response with a list of devices
Steps to reproduce this issue
Steps:
/api/devices
with agrpc-metadata-authorization
header with a valid API token (no query params, no request body)Your Environment
This was raised in #530 in this comment and @brocaar asked for a separate ticket but as far as I can tell that didn't get created. As mentioned in that comment, specifying an
applicationID
fixes the issue, but the API docs don't mention this param being required.