Forum Discussion
rachaelwalker
5 years agoResolver III
Expression.Error: We cannot convert the value null to type List.
I created a query calling a custom function, and it is giving me the following error. I am connecting via API using a static URL Expression.Error: We cannot convert the value null to type List. ...
- 5 years ago
mahoneypat Anonymous I was able to resolve all issues replacing the "&" with "?". I am not sure of the reasoning behind it but I appreciate your time and help!
rachaelwalker
5 years agoResolver III
mahoneypat can you tell me which try otherwise I should remove. I tried removing the one highlighted in yellow but now getting same error cannot convert to list. I appreciate your time and help. I know this is difficult not fully knowing my data source.
let
Source = List.Generate( ()=> [Result= try PageData(1) otherwise null, PageNumber = 1], each List.Count([Result]) >1, each [Result= try PageData(PageNumber) otherwise null, PageNumber = PageNumber +1], each [Result]),
rachaelwalker
5 years agoResolver III
mahoneypat Anonymous I was able to resolve all issues replacing the "&" with "?". I am not sure of the reasoning behind it but I appreciate your time and help!