Something strange, all my sites have similar settings and seam to work fine but one.
$ curl 'https://stats.cantoute.com/matomo.php?action_name=Fabricant%20Tipi%20et%20Yourtes%20-%20Dessine%20moi%20une%20Yourte&idsite=8&rec=1&r=749736&h=16&m=50&s=57&url=https%3A%2F%2Fdessinemoiuneyourte.com%2Flang%2Ffr%2Fcatalogue&urlref=https%3A%2F%2Fdessinemoiuneyourte.com%2Flang%2Ffr%2Faccueil&_id=b8614f0293182858&_idn=0&_refts=0&send_image=0&pdf=1&qt=0&realp=0&wma=0&fla=0&java=0&ag=0&cookie=1&res=1280x800&pv_id=rZVuvn&pf_net=0&pf_srv=1137&pf_tfr=243&pf_dm1=968' \
-X 'POST' \
-H 'authority: stats.cantoute.com' \
-H 'content-length: 0' \
-H 'sec-ch-ua: "Google Chrome";v="87", " Not;A Brand";v="99", "Chromium";v="87"' \
-H 'dnt: 1' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36' \
-H 'content-type: application/x-www-form-urlencoded; charset=utf-8' \
-H 'accept: */*' \
-H 'origin: https://dessinemoiuneyourte.com' \
-H 'sec-fetch-site: cross-site' \
-H 'sec-fetch-mode: no-cors' \
-H 'sec-fetch-dest: empty' \
-H 'referer: https://dessinemoiuneyourte.com/' \
-H 'accept-language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7,es;q=0.6,pt;q=0.5' \
--compressed
HTTP/1.1 400 Bad Request
Server: nginx
Date: Sat, 02 Jan 2021 21:00:05 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Origin
Tk: N
Access-Control-Allow-Origin: https://dessinemoiuneyourte.com
Access-Control-Allow-Credentials: true
This resource is part of Matomo. Keep full control of your data with the leading free and open source <a href='https://matomo.org' target='_blank' rel='noopener noreferrer nofollow'>web analytics & conversion optimisation platform</a>.<br>
This file is the endpoint for the Matomo tracking API. If you want to access the Matomo UI or use the Reporting API, please use <a href='index.php'>index.php</a> instead.
@cantoute have you maybe configured the site to only allow requests from specific domains?
When you edit a site or measurable then there's a checkbox like this:
Not that I know off...
I had added 7 sites after fresh install.
That last site was added after the last update (4.1.0)
The other thing I could think of is that the domain name is longer than any other I've got dessinemoiuneyourte.com
I've tried removing site and recreate... nothing changed
Thanks for you help...
Turned out that deleting it and recreating it finally worked !!
Sorry for the noise.
Have a nice day
Great, glad it works now @cantoute