Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I need some help in understanding how to debug an error on a report which was embedded using the PowerBI-Javascript.
From documentation provided in order to debug errors the following code can be used:
// Add a listener to 'error' events
report.on('error', (errorObject) => {
const err = errorObject.detail;
// Print error to console
console.log(`Error occurred: ${err.message}. Detailed message: ${err.detailedMessage}`);
console.log(err);
});
This functions as expected, but it is producing an IError object with message "Cannot read property 'accept' of undefined" whenever a users interacts with a graph on the report (E.g. clicking on a bar on a barchart). There is however no detailedMessage provided.
What could this message be referring to or where should I start my investigation?
User | Count |
---|---|
5 | |
4 | |
3 | |
2 | |
2 |
User | Count |
---|---|
8 | |
6 | |
4 | |
4 | |
4 |