Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Expected a JSON object #38

Open
dairecunningham opened this issue May 30, 2024 · 2 comments
Open

Expected a JSON object #38

dairecunningham opened this issue May 30, 2024 · 2 comments

Comments

@dairecunningham
Copy link

Hi there,

anyone else getting an error at JSON.parse(reportParameters).reportUrl in the HTML file?
If I look at the PBIReport.json file in VSCode is looks to be malformed:
JsonError
This is the sample in the screenshot but my file has all values filled.

Thanks in advance!
Daire

@furmangg
Copy link

furmangg commented May 30, 2024

That file is actually a JavaScript file. The file extension is a misnomer.

If you can’t figure out how to make your file parse then feel free to share here for sanity check.

@dairecunningham
Copy link
Author

That file is actually a JavaScript file. The file extension is a misnomer.

I’d you can’t figure out how to make your file parse then feel free to share here for sanity check.

Yes, I noticed this actually. It seems to be an issue to do with specifying the filter parameters. I'm seeing issues if they are strings, have spaces or I want to omit altogether. But I can work around these thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants