Skip to main content

500 and 403 error when downloading a certain region

  • April 26, 2024
  • 18 replies
  • 356 views

Hello,
I am using EOLearn workflow to download raster images using WCS request from Sentinel-2 L1C. My code works fine for other regions but throws the following error in Jharkhand, India.
Any idea about this?

Server response: “java.util.concurrent.ExecutionException: com.sinergise.sentinel.java.io.manager.MissingFileException: Illegal request! HTTP403”
<traceback object at 0x7fb5eb2bf188>
During execution of task S2L1CWCSInput: Failed to download from:
https://services.sentinel-hub.com/ogc/wcs/configuration-id?SERVICE=wcs&MAXCC=50.0&ShowLogo=False&Transparent=True&BBOX=1417874.5148615553%2C2616850.389900802%2C1422870.229745819%2C2621792.8791823&FORMAT=image%2Ftiff%3Bdepth%3D32f&CRS=EPSG%3A32643&TIME=2019-02-05T05%3A12%3A05%2F2019-02-05T05%3A12%3A05&RESX=10m&RESY=10m&COVERAGE=Layer1&REQUEST=GetCoverage&VERSION=1.1.2
with HTTPError:
500 Server Error: Internal Server Error for url: https://services.sentinel-hub.com/ogc/wcs/configuration-id?SERVICE=wcs&MAXCC=50.0&ShowLogo=False&Transparent=True&BBOX=1417874.5148615553%2C2616850.389900802%2C1422870.229745819%2C2621792.8791823&FORMAT=image%2Ftiff%3Bdepth%3D32f&CRS=EPSG%3A32643&TIME=2019-02-05T05%3A12%3A05%2F2019-02-05T05%3A12%3A05&RESX=10m&RESY=10m&COVERAGE=Layer1&REQUEST=GetCoverage&VERSION=1.1.2
Server response: “java.util.concurrent.ExecutionException: com.sinergise.sentinel.java.io.manager.MissingFileException: Illegal request! HTTP403”

18 replies

I am using S2 L1C as well. I am still receiving the same error but when i change the date range, I get valid data. But I need it for a specific date range. The date range is around 4 months.


Hi,

I tried executing the same request with my instance ID and a layer that uses Sentinel-2 L1C as a data source and it works fine.

Which data source are you using? Do you still get the same error for this request?


Can you post the first 2 blocks of your instance ID so that we can debug with it?


I have some other regions as well which give the same error. Is there a portal where I can officially give you the list of problematic areas?


Thanks, we have identified the error (some of the files were ingested wrongly) and fixed it.


Actually, I am currently using another enterprise account and I cannot post details about it on a public forum.
It would be great if you provide me a private medium to report my issues.


I guess this forum is the best place actually.
Ideally provide requests (as in the initial step) - we need to know AOI, TIME and layer parameters.


Understood. I will send you a private message.


Hello,
I’ve got apparently the same problem. Can it be fixed or do you have any suggestions?

DownloadFailedException: During execution of task S2L1CWCSInput: Failed to download from:
https://services.sentinel-hub.com/ogc/wcs/e3179348-c96f-4?SERVICE=wcs&MAXCC=100.0&ShowLogo=False&Transparent=True&BBOX=647348.6118769929%2C5701897.348804479%2C647614.3831275287%2C5702232.357709395&FORMAT=image%2Ftiff%3Bdepth%3D32f&CRS=EPSG%3A32631&TIME=2019-07-17T09%3A46%3A49%2F2019-07-17T11%3A46%3A49&RESX=10m&RESY=10m&COVERAGE=BANDS-S2-L1C&REQUEST=GetCoverage&VERSION=1.1.2
with HTTPError:
500 Server Error: Internal Server Error for url: https://services.sentinel-hub.com/ogc/wcs/e3179348-?SERVICE=wcs&MAXCC=100.0&ShowLogo=False&Transparent=True&BBOX=647348.6118769929%2C5701897.348804479%2C647614.3831275287%2C5702232.357709395&FORMAT=image%2Ftiff%3Bdepth%3D32f&CRS=EPSG%3A32631&TIME=2019-07-17T09%3A46%3A49%2F2019-07-17T11%3A46%3A49&RESX=10m&RESY=10m&COVERAGE=BANDS-S2-L1C&REQUEST=GetCoverage&VERSION=1.1.2
Server response: “java.util.concurrent.ExecutionException: com.sinergise.sentinel.java.io.manager.MissingFileException: Illegal request to https://sentinel-s2-l1c-index.s3.amazonaws.com/tiles/31/U/FT/2019/7/17/0/B11.index. HTTP Status: 403”


It works perfectly! thank you very much for the quick reply!


Can you try again?
One of the scenes at this location was corrupted and we had to correct it.


If I try to run your request (clicking on the url you posted above), the error message says: “It looks like your Sentinel Hub account has expired.” I believe you have used up the processing units of your trial account.



What do you mean by different account?

Both these two instance_ids are not valid.


How come I get this error when I am using a totally different account?
It shows a different instance ID than the one I am currently using.
What I am using:

What the error shows:


See your dashboard(s). You used up the trial number of requests/processing units. As soon as that happens, your trial account gets deactivated.


new email, new sentinelhub configuration. I just set it up like 2h ago, why it is not valid ?


So the trial number of requests/ processing units get used up even though I haven’t downloaded any data?