504 Gateway Time-out Statistical API

Hello every one.

I have a problem with getting data from https://creodias.sentinel-hub.com/api/v1/statistics.

I send next request by postman.

{
    "input": {
        "bounds": {
            "properties": {
                "crs": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
            },
            "geometry": {
                "type": "Polygon",
                "coordinates": [
                    [
                        [
                            25.9101028295947,
                            50.31039367276981
                        ],
                        [
                            25.936808606305902,
                            50.31039367276981
                        ],
                        [
                            25.936808606305902,
                            50.33920085639807
                        ],
                        [
                            25.9101028295947,
                            50.33920085639807
                        ],
                        [
                            25.9101028295947,
                            50.31039367276981
                        ]
                    ]
                ]
            }
        },
        "data": [
            {
                "type": "sentinel-3-olci"
            }
        ]
    },
    "aggregation": {
        "timeRange": {
            "from": "2024-04-01T00:00:00Z",
            "to": "2024-04-07T00:00:00Z"
        },
        "aggregationInterval": {
            "of": "P1D"
        },
        "evalscript": "//VERSION=3\nfunction setup() {\n  return {\n    input: [{\n      bands: [\n        \"B08\",\n        \"B17\",\n        \"dataMask\"\n      ]\n    }],\n    output: [\n      {\n        id: \"data\",\n        sampleType: \"FLOAT32\",\n        bands: 2\n      },\n      {\n        id: \"dataMask\",\n        bands: 1\n      }]\n  };\n}\n\nfunction evaluatePixel(samples) {\n  let ndvi = index(samples.B17, samples.B08);\n  return {\n        data: [ndvi, samples.B08],\n        dataMask: [samples.dataMask]\n    }\n}",
        "resx": 0.0027,
        "resy": 0.0027
    }
}

And I have an error 504 Gateway Time-out.

As you can see time range isn’t very big, so I excluded that error was because of big amount of data in response.
I tried to change timerange to smaller and differant dates, but it didn’t help.

And I also exclude that the polygon is very big.

Maybe someone have ever faced with this problem?

I have enough units and requests.

Hi,

It works fine for me: could it be that you tried to run this request when CreoDIAS was experiencing issues or performing maintenance? Is this issue still occurring for you?

Yes, CreoDIAS was not available at that time. Now all requests are working

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