Anonymous's avatar
Anonymous
Not applicable
6 years ago
Status:
New

Error using Rest Api Datasets - Update Datasources: Multiple datasources not supported in V3 models

Hi all,

After trying to update a Datasource of a dataset in the workspace with the REST API i have the following error:

{ "error": { "code": "InvalidRequest", "message": "Multiple datasources not supported in V3 models" } }


I do have a SharepointList datasource and a sql db datasource, but i cant find anything about this error description, i am not sure what this means.
Does anyone know here i can find documentation about this kind of errors, or does someone know about this specific error.
Thanks!
Jos Eilers

8 Comments

  • v-qiuyu-msft's avatar
    v-qiuyu-msft
    Community Support

    Hi Anonymous, 

     

    It looks the dataset gets data from on-premises SharePoint list and SQL database. If you are configuring the on-premises data gateway for the dataset, you can use Gateways - Update Datasource API. 

     

    Best Regards,
    Qiuyun Yu

  • StevRSA's avatar
    StevRSA
    Regular Visitor

    I think this may be a limitation of the new enhanced metadata format.  We got the same error with the REST API as soon as we tried this preview feature with some of our reports.  Hopefully this will be fixed when it goes to GA.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi StevRSA , this could be the case then (it was active in this report). Unfortunately it seems that you cant go back once it has been set on :

     

     Important

    Enabling the enhanced dataset metadata feature results in an irreversible upgrade to reports. Any Power BI reports loaded or created with Power BI Desktop, once the enhanced dataset metadata enabled, are irreversibly converted to the enhanced dataset metadat format.

     

    Or do you see any other solution for this? (besides rebuilding the report)

     

  • StevRSA's avatar
    StevRSA
    Regular Visitor

    I was not able to find any way to revert the change and had to rebuild my reports.

  • having this same problem, did anyone get an answer? I'm surprised about this, does seem like a bug.

  • Anonymous's avatar
    Anonymous
    Not applicable

    I tried it again today, and it seems the problem disappeared (maybe due to a microsoft update)