Skip to content

I get an error when trying to open an ipybn file in VScode. - 'Expected a JSON object, array or literal.' #12656

Discussion options

You must be logged in to vote

Yes as you have identified the ipynb file is invalid. Now sure where you got this file from, but its not a valid file.
Hence the issue isn't with vscode or the jupyter extension, but the fact that you have an invalid (currupted) file that you are trying to open as a Jupyter notebook file.

My suggestion is to downlod the file into an ipynb format and ensure it has JSON (not sure how you downloaded/saved/got the ipynb file). but i'd look at that process.

Replies: 7 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by That-Ruben
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@DonJayamanne
Comment options

@DonJayamanne
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants