Error in log file

Hello,
When some user searched in application i got in logs:

webapp.log

[2021-01-27 13:52:57][ERROR ] — [Search Framework Rest]: Argument to $skip cannot be negative, full error: {‘ok’: 0.0, ‘errmsg’: ‘Argument to $skip cannot be negative’, ‘code’: 15956, ‘codeName’: ‘Location15956’} (search_routes.py)
[2021-01-27 13:53:01][ERROR ] — [Search Framework Rest]: Argument to $skip cannot be negative, full error: {‘ok’: 0.0, ‘errmsg’: ‘Argument to $skip cannot be negative’, ‘code’: 15956, ‘codeName’: ‘Location15956’} (search_routes.py)
[2021-01-27 13:53:03][ERROR ] — [Search Framework Rest]: Argument to $skip cannot be negative, full error: {‘ok’: 0.0, ‘errmsg’: ‘Argument to $skip cannot be negative’, ‘code’: 15956, ‘codeName’: ‘Location15956’} (search_routes.py)
[2021-01-27 13:53:04][ERROR ] — [Search Framework Rest]: Argument to $skip cannot be negative, full error: {‘ok’: 0.0, ‘errmsg’: ‘Argument to $skip cannot be negative’, ‘code’: 15956, ‘codeName’: ‘Location15956’} (search_routes.py)
[2021-01-27 13:53:07][ERROR ] — [Search Framework Rest]: Argument to $skip cannot be negative, full error: {‘ok’: 0.0, ‘errmsg’: ‘Argument to $skip cannot be negative’, ‘code’: 15956, ‘codeName’: ‘Location15956’} (search_routes.py)

Caould You explain why application show error and what is mean this code?

Hello @marcinw ,

to answer you questen, why this error message is thrown, we need your DATAGERRY version and your search query.

The message comes from MongoDB. With ‘$skip’ MongoDB controls over which position in the documents the objects should be fetched. ‘$skip’ takes a positive integer that specifies the maximum number of documents to skip.

Hi @sergej.dumler
I have:
Title DATAGERRY
Version 1.4.4
Database Version 20200512

but as I wrote before, I don’t know what a user entered in the query