Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] small impact window 500 #217

Open
davidpomerenke opened this issue Aug 29, 2024 · 1 comment
Open

[Bug] small impact window 500 #217

davidpomerenke opened this issue Aug 29, 2024 · 1 comment
Assignees

Comments

@davidpomerenke
Copy link
Collaborator

davidpomerenke commented Aug 29, 2024

Hey! Ich habe gerade gemerkt, dass wenn man eine sehr kleine time frame auswählt, dass die API mit 500er fehlschlägt, statt eine Limitation zurück zu liefern.
Payload:

{
    "method": "time_series_regression",
    "impacted_trend": {
        "trend_type": "keywords",
        "sentiment_target": null,
        "organizers": [
            "Last Generation"
        ],
        "media_source": "news_online",
        "topic": "climate_change",
        "start_date": "2024-08-02",
        "end_date": "2024-08-28"
    },
    "media_source": "news_online",
    "topic": "climate_change",
    "start_date": "2024-08-02",
    "end_date": "2024-08-28",
    "organizer": "Last Generation"
}

Response:

{
    "message": "Internal server error",
    "details": "zero-size array to reduction operation maximum which has no identity"
}
Copy link

linear bot commented Aug 29, 2024

@davidpomerenke davidpomerenke self-assigned this Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant