You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If count is set to a negative number, it is passed down to MongoDB provoking a "bad skip value in query" exception and a 500 error is returned by API. A similar situation happens with page <= 0.
The error is recorded in API log.
Queries with invalid count and page values should either be corrected with default values, or captured and logged as invalid, but not executed in MongoDB.
The text was updated successfully, but these errors were encountered:
If count is set to a negative number, it is passed down to MongoDB provoking a "bad skip value in query" exception and a 500 error is returned by API. A similar situation happens with page <= 0.
The error is recorded in API log.
Queries with invalid count and page values should either be corrected with default values, or captured and logged as invalid, but not executed in MongoDB.
The text was updated successfully, but these errors were encountered: