400 Bad request - GET


I have a problem of 400 Bad request on the last version (2.16.0)

Configuration :
Synology 412+
Vr. Piwik : 2.16.0

The basic version on Synology package was 2.12.0, very old and a lot of graphic bug. But at least it was working. I upgrade on the 2.16.0 and I have a bad request when the client send user info.

Here the GET :

Request Method:GET
Status Code:400 Bad Request
Remote Address: xx.xx.xx.xx:xxxxx

I have this error on all my websites. One is a code on a PHP page ‘direct’, one is with the plugin WP-PIWIK

Thanks for your help :slight_smile:

I figured it out. Instead of having the URL point to the http://example.com/piwik/piwik.php, it should just be going to http://example.com/piwik

Source:java - Piwik returns 400 bad request when trying to send tracking data via API - Stack Overflow