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

[API] Sums by organization returns error #693

Open
inimaz opened this issue Oct 25, 2024 · 0 comments
Open

[API] Sums by organization returns error #693

inimaz opened this issue Oct 25, 2024 · 0 comments
Labels
API Concern only the codecarbon API bug Something isn't working

Comments

@inimaz
Copy link
Contributor

inimaz commented Oct 25, 2024

How to reproduce

Get the sums of an org that has no emissions yet /organizations/{ORG_ID}/sums?start_date=2024-09-25T08:12:41.043Z&end_date=2024-10-25T08:12:41.043Z

Received response

{"detail":"Generic error"}

Ideal response

{
   ....
    "emissions": 0,
    "energy_consumed": 0,
    "duration": 0,
...
}
@inimaz inimaz added bug Something isn't working API Concern only the codecarbon API labels Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Concern only the codecarbon API bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant