# Internal error when downloading data from era5-complete

**URL:** <https://forum.ecmwf.int/t/internal-error-when-downloading-data-from-era5-complete/2854>\
**Category:** API\
**Tags:** api, cds, era5\
**Created:** [30 May 2024 06:19 UTC](https://forum.ecmwf.int/t/internal-error-when-downloading-data-from-era5-complete/2854 "2024-05-30T06:19:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Liting\_Hu](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@Liting\_Hu](https://forum.ecmwf.int/u/Liting_Hu)\
**Post date:** [30 May 2024 06:19 UTC](https://forum.ecmwf.int/t/internal-error-when-downloading-data-from-era5-complete/2854/1 "2024-05-30T06:19:36Z")

</div>

This occurs when I try to download relative data from reanalysis-era5-complete. When I download the data for one day (e.g. 20240101), it works without problem. However, when I try to retrieve 1 month or more months, it failed and here is my request and the resulting mars errors.

2024-05-30 13:28:44,328 INFO Request is queued  
2024-05-30 13:30:45,530 INFO Request is running  
2024-05-30 13:32:46,666 INFO Request is failed  
2024-05-30 13:32:46,666 ERROR Message: an internal error occurred processing your request  
2024-05-30 13:32:46,666 ERROR Reason:  
2024-05-30 13:32:46,666 ERROR Traceback (most recent call last):  
2024-05-30 13:32:46,666 ERROR File “/opt/cdstoolbox/cdscompute/cdscompute/cdshandlers/services/handler.py”, line 59, in handle\_request  
2024-05-30 13:32:46,666 ERROR result = cached(context.method, proc, context, context.args, context.kwargs)  
2024-05-30 13:32:46,666 ERROR File “/opt/cdstoolbox/cdscompute/cdscompute/caching.py”, line 108, in cached  
2024-05-30 13:32:46,666 ERROR result = proc(context, \*context.args, \*\*context.kwargs)  
2024-05-30 13:32:46,666 ERROR File “/opt/cdstoolbox/cdscompute/cdscompute/services.py”, line 124, in **call**  
2024-05-30 13:32:46,666 ERROR return p(\*args, \*\*kwargs)  
2024-05-30 13:32:46,666 ERROR File “/opt/cdstoolbox/cdscompute/cdscompute/services.py”, line 60, in **call**  
2024-05-30 13:32:46,667 ERROR return self.proc(context, \*args, \*\*kwargs)  
2024-05-30 13:32:46,667 ERROR File “/home/cds/cdsservices/services/mars/mars.py”, line 53, in external  
2024-05-30 13:32:46,667 ERROR return mars(context, request, \*\*kwargs)  
2024-05-30 13:32:46,667 ERROR File “/home/cds/cdsservices/services/mars/mars.py”, line 20, in mars  
2024-05-30 13:32:46,667 ERROR execute\_mars(context, requests, info)  
2024-05-30 13:32:46,667 ERROR File “/home/cds/cdsservices/services/mars/execute\_mars.py”, line 74, in execute\_mars  
2024-05-30 13:32:46,667 ERROR raise Exception(error\_lines)  
2024-05-30 13:32:46,667 ERROR Exception  
marsclass: EA  
dataset: None  
type: AN  
levtype: ML  
levelist: 1/to/137  
repres:  
date: 20230104/to/20230106  
resol: 159  
stream: OPER  
area: 90.0/-179.0/-90.0/180.0  
time: 00/03/06/09/12/15/18/21  
step: 00  
expver: 1  
number: OFF  
accuracy: 24  
grid: 1.0/1.0  
gaussian:  
target: /data2/LitingHu/flex\_extract/flex\_extract\_v7.1.2/Run/ERA5public01//ANOG\_\_ML.20230104.213003.213004.grb  
param: 130.128/133.128/131.128/132.128/077.128/246.128/247.128  
target: /data2/LitingHu/flex\_extract/flex\_extract\_v7.1.2/Run/ERA5public01//ANOG\_\_ML.20230104.213003.213004.grb  
RETRIEVE ERA5 WITH CDS API!

MARS Request failed!  
an internal error occurred processing your request. .  
Traceback (most recent call last):  
File “/data2/LitingHu/flex\_extract/flex\_extract\_v7.1.2/Source/Python/Classes/MarsRetrieval.py”, line 578, in data\_retrieve  
attrs, target)  
File “/home/LitingHu/.local/lib/python3.6/site-packages/cdsapi/api.py”, line 381, in retrieve  
result = self.\_api(“%s/resources/%s” % (self.url, name), request, “POST”)  
File “/home/LitingHu/.local/lib/python3.6/site-packages/cdsapi/api.py”, line 538, in \_api  
% (reply[“error”].get(“message”), reply[“error”].get(“reason”))  
Exception: an internal error occurred processing your request. .

Does somebody know what’s happening or what I can do?

---

<div class="post-metadata">

**Author:** ![Petri\_Clusius](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/p/50afbb/32.png) [@Petri\_Clusius](https://forum.ecmwf.int/u/Petri_Clusius)\
**Post date:** [31 May 2024 07:32 UTC](https://forum.ecmwf.int/t/internal-error-when-downloading-data-from-era5-complete/2854/2 "2024-05-31T07:32:09Z")

</div>

Hi, Just want to chime in and tell that I’m getting same error, sometimes also “Request disappeared from running requests”. I hope this is just due to migration. I’ve also tried with exact same requests that were working 6 months ago.

---

<div class="post-metadata">

**Author:** ![Liting\_Hu](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@Liting\_Hu](https://forum.ecmwf.int/u/Liting_Hu)\
**Post date:** [22 July 2024 01:48 UTC](https://forum.ecmwf.int/t/internal-error-when-downloading-data-from-era5-complete/2854/3 "2024-07-22T01:48:38Z")

</div>

I think it is due to migration. My problem has been solved now and I downloaded the data successfully now! Hope you goes well!
