Skip to content

Failed to query CDSE stac during item creation with eopf-stac v0.12.0 #72

@senmao

Description

@senmao

Hi,

I got below error (eopf_stac.io: 400 Client Error) during my test for creating STAC item using eopf-stac v0.12.0. It seems the collections query parameter is required

2026-04-08T09:48:23.055 [INFO] eopf_stac.io: CDSE scene ID is S2A_MSIL1C_20260330T150821_N0512_R025_T33XWM_20260330T220423
2026-04-08T09:48:23.168 [WARNING] eopf_stac.io: 400 Client Error: Bad Request for url: https://stac.dataspace.copernicus.eu/v1/search?ids=S2A_MSIL1C_20260330T150821_N0512_R025_T33XWM_20260330T220423
2026-04-08T09:48:23.169 [INFO] eopf_stac.io: CDSE STAC item URL of source scene is None
2026-04-08T09:48:23.169 [WARNING] eopf_stac.io: Unable to determine link to the original scene at CSDE STAC API!
2026-04-08T09:48:23.175 [INFO] eopf_stac.io: Sucessfully created STAC item
- Done!
airflow@c6682b808def:/eopf_eodc_mnt/test_cpm/src$
airflow@c6682b808def:/eopf_eodc_mnt/test_cpm/src$ curl https://stac.dataspace.copernicus.eu/v1/search?ids=S2A_MSIL1C_20260330T150821_N0512_R025_T33XWM_20260330T220423
{"detail":{"code":"SearchValidationError","message":"Search requests require at least one collection. Please provide the 'collections' parameter."}}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions