I used this API: https://datausa.io/api/data?drilldowns=Nation&measures=Population
I made a custom connector 'PopulationDataConnector' with action 'GetPopulationData'.


and the response is also imported from sample response in the custom connector. I tested the custom connector and the result is as follows:

Now in the power apps, I connected the custom connector in the data section of the power app. Then, I inserted a button label. In the button's onSelect Property i wrote the following formula:
ClearCollect(populationCollection, PopulationDataConnector.GetPopulationData({drilldowns:"Nation",measures:"Population"}).data)
Following error is shown.
Why is this error coming?