Forum Discussion

PANDAmonium's avatar
PANDAmonium
Icon for Resolver IV rankResolver IV
5 years ago
Solved

Dataflow and Rest API - We cannot convert a value of type Table to type Text

Hi All,   I'm trying to use the Power BI REST API and store some of the results in a dataflow. I got it working in Power BI Desktop, but I wanted to store some of the higher level objects data in a...
  • lbendlin's avatar
    5 years ago

    Did you maybe forget to specify the GroupID ?

  • PANDAmonium's avatar
    PANDAmonium
    5 years ago

    You were probably right about the missing Group Id πŸ˜‘  I changed a few things since my last attempt including the API permissions. I had initally enabled Group.Read instead of Group.ReadAll accidatally, so it probably was either not returning anything when calling those group ids or not getting the ids just during validation...but did get all the ids for my Group table on refresh πŸ˜•

     

    I still don't understand why it was still pulling all the groups in the dataflow and everything else was working correctly in Postman and Power BI Desktop though. The scope and authentication are the same in the token request, so you would think the issue would arise sooner but for some reason it was only on dataflow validation for objects within groups that that it occured.

     

    Ran it twice though and is seems to be working. Thanks for the help!