# Scrolling Transport Error Elastic Search with python

**URL:** <https://discuss.elastic.co/t/scrolling-transport-error-elastic-search-with-python/188938>\
**Category:** Elasticsearch\
**Created:** [July 4, 2019, 3:09pm UTC](https://discuss.elastic.co/t/scrolling-transport-error-elastic-search-with-python/188938 "2019-07-04T15:09:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![roma\_sodha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roma_sodha/32/48989_2.png) [@roma\_sodha](https://discuss.elastic.co/u/roma_sodha)\
**Post date:** [July 4, 2019, 3:09pm UTC](https://discuss.elastic.co/t/scrolling-transport-error-elastic-search-with-python/188938/1 "2019-07-04T15:09:56Z")

</div>

Hi,  
I get below error while doing scrolling with python.  
Any one encountered such error before.?

Scrolling...  
Traceback (most recent call last):  
File , line 78, in   
page = es.scroll(scroll\_id= sid,scroll='2m')  
File "D:\Users\rob00001\AppData\Local\Programs\Python\Python36\lib\site-packages\elasticsearch\client\utils.py", line 84, in _wrapped  
return func(\*args, params=params, \*\*kwargs)  
File "D:\Users\rob00001\AppData\Local\Programs\Python\Python36\lib\site-packages\elasticsearch\client\_init_.py", line 1315, in scroll  
"GET", "/\_search/scroll", params=params, body=body  
File "D:\Users\rob00001\AppData\Local\Programs\Python\Python36\lib\site-packages\elasticsearch\transport.py", line 353, in perform\_request  
timeout=timeout,  
File "D:\Users\rob00001\AppData\Local\Programs\Python\Python36\lib\site-packages\elasticsearch\connection\http\_requests.py", line 155, in perform\_request  
self.\_raise\_error(response.status\_code, raw\_data)  
File "D:\Users\rob00001\AppData\Local\Programs\Python\Python36\lib\site-packages\elasticsearch\connection\base.py", line 178, in \_raise\_error  
status\_code, error\_message, additional\_info  
elasticsearch.exceptions.TransportError: TransportError(413, '')

Thanks.

---

<div class="post-metadata">

**Author:** ![gabriel\_tessier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gabriel_tessier/32/27911_2.png) [@gabriel\_tessier](https://discuss.elastic.co/u/gabriel_tessier)\
**Post date:** [August 1, 2019, 2:21pm UTC](https://discuss.elastic.co/t/scrolling-transport-error-elastic-search-with-python/188938/2 "2019-08-01T14:21:52Z")

</div>

Hi @roma_sodha,

I never get this error but get a lot of other 😁

> [@roma\_sodha](#):
>
> elasticsearch.exceptions.TransportError: TransportError(413, '')

Look like the problm is here Error 413

More detail here about signification of http 413

> **[What Is a 413 Status Code?](https://www.webfx.com/web-development/glossary/http-status-codes/what-is-a-413-status-code/)**
>
> HTTP Status Code 413: The server is refusing to process a request because the request payload is larger than the server is willing or able to process.

Can you give more detail about the data you search on? and your query?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 29, 2019, 2:21pm UTC](https://discuss.elastic.co/t/scrolling-transport-error-elastic-search-with-python/188938/3 "2019-08-29T14:21:56Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
