The spaces in the url parameters caused the parameters to not be read, resulting in wrong api results.