-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
get site stats API result in 500 when website_id is wrong #1252
Labels
Comments
This was referenced Jul 2, 2022
Closed
get http://umami.domain/api/website/undefined/stats
|
This issue is stale because it has been open for 60 days with no activity. |
This issue was closed because it has been inactive for 7 days since being marked as stale. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(not exactly the same as #1241 but very close)
by error I set
undefined
as website ID and the following queryGET https://umami.mydomain.com/api/website/undefined/stats
results in 500
Internal Server Error
with folliwing stack from dockernext with a valid website_id, I got
GET https://umami.mydomain.com/api/website/2/stats
results in 500
Internal Server Error
with folliwing stack from dockernext with a valid website_id, and period
GET https://umami.mydomain.com/api/website/2/stats?start_at=1656679719687&end_at=1656766119687
I got success
here is the way to build query
what did I expect from this issue:
NB: for umami user; using developer console, you could inspect network exchange from umami portal to have an idea of what param (or param format) are expected for some umami API if documentation is not complete.
The text was updated successfully, but these errors were encountered: