manishdd's avatar
manishdd
Frequent Visitor
4 years ago
Status:
Investigating

Embedding Power bi Paginated on dataset - multi-resource embed token error

Followed token generation as specified in Embed Token - Generate Token - REST API (Power BI Power BI REST APIs) | Microsoft Docs

 

We get the report loading text however it fails with following message

 

An unexpected error occurred

There was an error contacting an underlying data source. Manage your credentials or gateway settings on the management page. Please verify that the data source is available, your credentials are correct and that your gateway settings are valid.

2 Comments

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi manishdd ,

     

    I see you mentioned multiple data sources, did you configure the appropriate data source and gateway for them in Power BI (if it is a local data source)

     

    Best Regards,
    Community Support Team _ Caitlyn

  • manishdd's avatar
    manishdd
    Frequent Visitor

    Its single data source. Documentation says embedding paginated on datasets is now supported using multi-resource token and i followed that link.

    Is there a working example say on Power bi playground? Either the the docmentation is missing some step or passing dataset id with xmla perssion is still not working.