from what I can understand you are to put the values of the “exclude” key in a list as stated on the openweathermap website (By using this parameter you can exclude some parts of the weather data from the API response. It should be a comma-delimited list (without spaces)).
Since :params is a map it expects every key to have a value next to it.
So since maps are key-value pairs, what you have done is give the “exclude” key the value of “minutely” instead of a list containing the parameters you want to exclude.
According to the website the value of exclude should be a “comma delimited list”
That’s because the compiler is pairing “exclude” with “minutely”, “current” with “daily”, and “alerts” with nothing.
I feel you should try doing this instead
“exclude” [“minutely”,“current”,“daily”,“alerts”]