Open babygoat opened 4 years ago
category/intl
is not defined in our routes, so we cannot find the list id.https://go-api.twreporter.org/v1/posts?where={"categories":{"in":[null]}}&limit=10&offset=0
generated by frontend:redux, and sent to backend:go-api server.Fix backend:go-api. Make backend:go-api handle that request well, return 200 status code and empty records.
I still see this issue now and then and will result in bulk error message hundreds of time each day. This still need further investigation why would the error persists. Also, the fix patch uses the incorrect package which should be github.com/pkg/errors not standard "errors" package, I will come up the update later. The time charts reflects that the pattern of error reporting issue on go-api has similar pattern on twreporter-react. So this might be related.
Per error reporting report
twreporter-redux occasionally dispatchActions with following request