Replies: 10 comments
-
You shouldn't get a 500. That means something went wrong on your server. You'll have to check the logs. |
Beta Was this translation helpful? Give feedback.
-
What logs exactly do you mean? |
Beta Was this translation helpful? Give feedback.
-
Run |
Beta Was this translation helpful? Give feedback.
-
My problem is the same I think. Dev console:
|
Beta Was this translation helpful? Give feedback.
-
I got the error:
|
Beta Was this translation helpful? Give feedback.
-
My problem is diferent, I create new ticket |
Beta Was this translation helpful? Give feedback.
-
@alex289 what parameters are you passing to the api? |
Beta Was this translation helpful? Give feedback.
-
I tried multiple versions because the documentation was not helpful about the format. I tried this formats for start_at and end_at: |
Beta Was this translation helpful? Give feedback.
-
I looked at the Vercel errors on these inputs:
|
Beta Was this translation helpful? Give feedback.
-
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. This way I find that start_at or end_at format is timestamp in milliseconds. (cf. #1252) Btw I agree: the doc may be improved to add a sample |
Beta Was this translation helpful? Give feedback.
-
Hey, I use umami to get statistics of some websites but the Api is not working.
After getting an auth token from /api/auth/login (POST) I made a request to /api/website/{id}/stats but always got an error 500.
I tried it both with the token as bearer and as a cookie. (Cookies result was 401).
Am I using the api wrong or is this a bug?
Beta Was this translation helpful? Give feedback.
All reactions