Hi
I am trying to get records from а web-service
Using this code I have got an error
Unable to convert a value of type List in the Record Type.
let #"campaignsId_List"= Table.FromList(Table.Column(campaigns, "campaignId"), null, {"campaignId"}, null, null), Ссылка = "campaigns/statistics/balance?query[campaignId]=PGp8n", #"Запрос http" = Table.AddColumn(#"campaignsId_List", "responseJson", each Record.ToTable( Json.Document(Web.Contents(URL & Ссылка & [campaignId], [Headers=[#"X-Auth-Token"="api-key "& Token, #"X-Domain"= Domain , #"Content-Type"="application/json"]])))) in #"Запрос http"
What is а cause of this error?