Uncaught TypeError: this.element.getAttribute is not a function
I am having problems viewing a Power BI Report that is embedded. Am I missing something?
Here is the full error:
Uncaught TypeError: this.element.getAttribute is not a function at Report.Embed.getUniqueId (powerbi.js:759) at Report.Embed.populateConfig (powerbi.js:715) at Report.populateConfig (powerbi.js:3681) at Report.Embed (powerbi.js:505) at new Report (powerbi.js:3447) at Service.embedNew (powerbi.js:277) at Service.embedInternal (powerbi.js:254) at Service.embed (powerbi.js:230)
It looks like there are some error in the powerbi.js file, does this error happen before? Could you please try to clear the cache and get the js file again, Could you please also note where the js file come from? does it come from the azure CDN, or other place? What is the browser you used, have you tried to reproduce this error in latest version of Edge or IE?
Please don't contain any Confidential Information or Real data in your reply.
Community Support Team _ Dong Li If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.