{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/powerbi-models/issues/55","repository_url":"https://api.github.com/repos/Microsoft/powerbi-models","labels_url":"https://api.github.com/repos/Microsoft/powerbi-models/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/powerbi-models/issues/55/comments","events_url":"https://api.github.com/repos/Microsoft/powerbi-models/issues/55/events","html_url":"https://github.com/Microsoft/powerbi-models/issues/55","id":279740518,"number":55,"title":"Error While trying to Embed a Powerbi Report","user":{"login":"dead8171","id":32110643,"avatar_url":"https://avatars0.githubusercontent.com/u/32110643?v=4","gravatar_id":"","url":"https://api.github.com/users/dead8171","html_url":"https://github.com/dead8171","followers_url":"https://api.github.com/users/dead8171/followers","following_url":"https://api.github.com/users/dead8171/following{/other_user}","gists_url":"https://api.github.com/users/dead8171/gists{/gist_id}","starred_url":"https://api.github.com/users/dead8171/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dead8171/subscriptions","organizations_url":"https://api.github.com/users/dead8171/orgs","repos_url":"https://api.github.com/users/dead8171/repos","events_url":"https://api.github.com/users/dead8171/events{/privacy}","received_events_url":"https://api.github.com/users/dead8171/received_events","type":"User","site_admin":false},"labels":[{"id":636661248,"url":"https://api.github.com/repos/Microsoft/powerbi-models/labels/answered","name":"answered","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-12-06T12:47:42Z","updated_at":"2017-12-06T13:30:47Z","closed_at":null,"author_association":"NONE","body":"I am having below errors while I try to embed a Powerbi report into a custom webpage, whenever the applcation gets loaded I get the below error and my web application doesn't work, below is the error that I am getting here:-\r\n\r\nGET https://wabi-south-east-asia-redirect.analysis.windows.net/metadata/cluster 403 (Forbidden)\r\n\r\nI dont Know what this means but I cant see my report there, below is the code that I am using to embed my report:-\r\n\r\n```\r\n<html>\r\n<script type=\"text/javascript\">\r\nvar embedConfiguration = {\r\n    type: 'report',\r\n    accessToken: 'H4sIAAAAAAAEACWWxw60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zPqnl86sJfDfp_t3mp8D5YJ7L_m7grLXdlOwgkYt0Tlh5irTtuh2_eCcN0GsqiZHgmn-AG8Mm4nThgGmbvGM_HW5oBp7wDWkGss8phChvTOZhYcQPhXu5folivYUas2sTKbCL4vm7UIXrzwswHrtS4K5n3W8v6aey2-RlaSrEHOAyEeqbv7WGXOAe1jzwRPIqiq0hs8r0Ec81bjKuL1W_1jWnmdmY3kU1M9lr5ip_iirv-nWJD1QF6Gw-CXNA6bN01vvGk9hONQNVaMq_xcHW5pJlvg_eaiXFy9RWlOlrMRDfcL1MN-lyUVvGxRJ-9pbR82QBPS_JM9Ff3TryqjN_Lf_0_MxQc6T-B_MzN-UqBz_KmH4oov4tgnreplh-QFITAPtvldvWY7ofa_mTCbwYRW0ns8sjWjuazZqpng8rW6jiheU7fcxzLK_pXnHLiTh6qRZ4p4Alq6uxH_wP8_Yl5o-ySPSgvzi3YD6ZJ2oquQ2J0DdLVOKdsyKTlzZT4hhs3J93uuCJzwyBzO1WDSQTC2miGTVLNf1s81rewWXXiJT-i4BkQG5OtHfZ9NaLdUpDOcGisbpuXg2IDU1wNwtRzdyeYG8HxHJrFy-uaJW2b9K_HtFcaiZ8BaOj0sV6hyC30TJdr6U-gk-1oqGsaezy3jWLdIGQZaQAdQKetzIubbgM8XYB8Lp0L5vN9J8NWEc4ZMubrmQzRVzfOXTbt0EsJR3GxldHcCei8jJuGKX_Y_7v_wBiGV_qGgsAAA==',\r\n    id: '67d80a68-35af-465b-a9a8-7d90dfe389dd',\r\n    embedUrl: 'https://app.powerbi.com/reportEmbed?reportId=67d80a68-35af-465b-a9a8-7d90dfe389dd&groupId=a78aa4c1-fa2f-4e4d-b21e-3d47bb89618e' \r\n}; \r\n\r\nvar report;\r\n\r\nwindow.onload = function () { \r\n\r\nvar $reportContainer = $('#reportContainer');\r\n \r\n report= powerbi.embed($reportContainer.get(0), embedConfiguration);\r\n \r\n \r\n var Filter1 = {\r\n$schema: \"http://powerbi.com/product/schema#advanced\",\r\ntarget: {\r\ntable: \"reporting_validation_agg_group\",\r\ncolumn: \"aggregation_end_date_local_1\"\r\n},\r\nlogicalOperator: \"OR\",\r\nconditions: [\r\n{\r\noperator: \"GreaterThan\",\r\nvalue: \"11/9/2017\"\r\n} \r\n]\r\n}\r\n\r\nvar Filter2 = {\r\n$schema: \"http://powerbi.com/product/schema#advanced\",\r\ntarget: {\r\ntable: \"reporting_validation_agg_group\",\r\ncolumn: \"aggregation_end_date_local_1\"\r\n},\r\nlogicalOperator: \"OR\",\r\nconditions: [\r\n{\r\noperator: \"LessThan\",\r\nvalue: \"11/12/2017\"\r\n} \r\n]\r\n}\r\n\r\nreport.on('loaded', event => {\r\n  report.getFilters()\r\n    .then(filters => {\r\n\t\r\n      filters.push(Filter1);\r\n      filters.push(Filter2);\r\n      return report.setFilters(filters);\r\n    });\r\n});\r\n \r\n} \r\n\r\n\r\nfunction reloadreport(){ \r\n\r\nvar $reportContainer = $('#reportContainer');\r\npowerbi.embedNew($reportContainer.get(0), embedConfiguration);\r\n\r\n};\r\n</script>\r\n <script src=\"jquery.js\"></script>\r\n <script src=\"es6-promise.js\"></script>\r\n <script src=\"powerbi.js\"></script>\r\n<div id=\"reportContainer\"></div>\r\n\r\n</html>\r\n```  "},"comment":{"url":"https://api.github.com/repos/Microsoft/powerbi-models/issues/comments/349640203","html_url":"https://github.com/Microsoft/powerbi-models/issues/55#issuecomment-349640203","issue_url":"https://api.github.com/repos/Microsoft/powerbi-models/issues/55","id":349640203,"user":{"login":"ali-hamud","id":23071967,"avatar_url":"https://avatars3.githubusercontent.com/u/23071967?v=4","gravatar_id":"","url":"https://api.github.com/users/ali-hamud","html_url":"https://github.com/ali-hamud","followers_url":"https://api.github.com/users/ali-hamud/followers","following_url":"https://api.github.com/users/ali-hamud/following{/other_user}","gists_url":"https://api.github.com/users/ali-hamud/gists{/gist_id}","starred_url":"https://api.github.com/users/ali-hamud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ali-hamud/subscriptions","organizations_url":"https://api.github.com/users/ali-hamud/orgs","repos_url":"https://api.github.com/users/ali-hamud/repos","events_url":"https://api.github.com/users/ali-hamud/events{/privacy}","received_events_url":"https://api.github.com/users/ali-hamud/received_events","type":"User","site_admin":false},"created_at":"2017-12-06T13:30:47Z","updated_at":"2017-12-06T13:30:47Z","author_association":"CONTRIBUTOR","body":"please open the [{…}] and see what the error is"}}
{"actor":{"display_login":"ali-hamud"}}