Error: Embed URL is invalid for this scenario. Please use Power BI REST APIs to get the valid URL

Viewed 851

I have implemented powerbi-javascript embedded custmization with Angular 9 web app. I can be able see dashboard charts view, but whenever I change embedUrl ( which is working in browser ) it shows blank page and getting error -

    Error: Embed URL is invalid for this scenario. Please use Power BI REST APIs to get the valid 

Configuration Object -

const config: any = {
  type: 'report',
  uniqueId: '40cc1ea5-4ef2-4e63-8c4d-2970a6584be6',
  permissions: this.model.Permissions.All,
  embedUrl: 'embed-url',
  accessToken: 'access-token',
  settings: { panes: { filters: { visible: true }, pageNavigation: { visible: false } } 
  };

Thanks,

0 Answers
Related