There was no '?' between path and query. Bug detected by someone on the internet.