TShock/TShock — Issue #362: The endpoint /v2/users/activelist 500s when no players are on the server
Author: nicatronTg
Created: 2012-02-08 15:00:45+00:00
State: open

The endpoint /users/activelist doesnt exist so looked at the code and it lists /v2/users/activelist but that just errors:-

{ "status": "500", "error": "Internal server error.", "errormsg": "Object reference not set to an instance of an object.", "stacktrace": " at TShockAPI.RestManager.UserListV2(RestVerbs verbs, IParameterCollection parameters)\r\n at Rests.Rest.ExecuteCommand(RestCommand cmd, RestVerbs verbs, IParameterCollection parms)\r\n at Rests.SecureRest.ExecuteCommand(RestCommand cmd, RestVerbs verbs, IParameterCollection parms)\r\n at Rests.Rest.ProcessRequest(Object sender, RequestEventArgs e)" }