Swift needs a convention for saying what the name of a function is, including not only the function name itself (before the parentheses) but also the external names of the parameters. 0 SWIFT 4.2 Sometimes this happened just because there is space in slug OR absence of URL encoding for parameters passing through API URL.