Open otto-ifak opened 1 week ago
Hello Björn,
maybe I am missing something but why are you using x
as a cursor?
That would normally be a base64Url encoded cursor that is way longer than just one character.
To test this I requested the first shell and set the limit to 1
. This returns a result and a server-generated cursor. I used the returned cursor to do another request looking like this:
http://localhost:8081/shells?cursor=aHR0cHM6Ly9hY3BsdC5vcmcvVGVzdF9Bc3NldEFkbWluaXN0cmF0aW9uU2hlbGw
This worked perfectly fine without returning an internal server error. I would agree that returning an internal server error is not the best behaviour but other than that I think this is working. Please correct me if I'm wrong.
Hi Aaron, yes I am using the endpoint intentionally wrong. I was expecting the server to handle invalid cursors. However, it seems not to handle this appropriately as it returns an error code 500 (internal server error).
I am using the docker setup from the
examples
folder. When I invokethe server responds with error code 500.
The following exception is logged: