# Error in log file

**URL:** https://community.datagerry.com/t/error-in-log-file/250
**Category:** Knowledge Base
**Created:** [January 29, 2021, 7:50am UTC](https://community.datagerry.com/t/error-in-log-file/250 "2021-01-29T07:50:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![marcinw](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@marcinw](https://community.datagerry.com/u/marcinw)
#### Post date: [January 29, 2021, 7:50am UTC](https://community.datagerry.com/t/error-in-log-file/250/1 "2021-01-29T07:50:35Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![sergej.dumler](https://avatars.discourse-cdn.com/v4/letter/s/bb73d2/32.png) [@sergej.dumler](https://community.datagerry.com/u/sergej.dumler)
#### Post date: [February 1, 2021, 10:23am UTC](https://community.datagerry.com/t/error-in-log-file/250/2 "2021-02-01T10:23:39Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![marcinw](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@marcinw](https://community.datagerry.com/u/marcinw)
#### Post date: [February 1, 2021, 12:15pm UTC](https://community.datagerry.com/t/error-in-log-file/250/3 "2021-02-01T12:15:18Z")

</div>

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
