Skip to content

query_unavailability_of_generation_units gives HTTPError: 400 Client Error with docstatus="A02" #495

@SeeBastion524

Description

@SeeBastion524

When I want to query query_unavailability_of_generation_units with docstatus="A02" I get a HTTPError: 400 Client Error. When I switch to docstatus="A05" it works. Here is the minimal example for reproduction:

start = pd.Timestamp.today(tz="UTC").normalize() - pd.Timedelta(days=50)
end = pd.Timestamp.today(tz="UTC").normalize()
bidding_zone = "DE_LU"

df_ = entsoe_client.query_unavailability_of_generation_units(
country_code=bidding_zone,
start=start,
end=end,
docstatus="A02",
)

Is this my mistake or a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions