Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213916

Unable to convert a value of type List in the Record Type in Query

$
0
0

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.

http://prntscr.com/drhibr

 

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?


Viewing all articles
Browse latest Browse all 213916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>