analytics icon indicating copy to clipboard operation
analytics copied to clipboard

** (ArithmeticError) bad argument in arithmetic expression

Open ukutaht opened this issue 2 years ago • 1 comments

Discussed in https://github.com/plausible/analytics/discussions/1714

This should work

Originally posted by kumfo February 25, 2022 when I request the API path to stats goal, it response error:

  • API path: /api/stats/:site/pages
  • payload:
period: 30d
date: 2022-02-25
filters: {"goal":"viewed","props":{"user_id":"1111"}}
  • response:
{"error":"** (ArithmeticError) bad argument in arithmetic expression"}

deploy with docker by latest tag

Thanks

ukutaht avatar Mar 01 '22 20:03 ukutaht

When I post custom event, I also submitted the pageview event. I found it work. but now, I have a new problem, it can't load next page😂,I don't know what it happen.

kumfo avatar Mar 08 '22 07:03 kumfo