[solved] Please ensure that the file is valid and try again (3) with .bib file

I am pretty sure that I have done something wrong although I get this error which seems popular in the forum : "Javascript. An error has occured while trying to import the selected file. Please ensure that the file is valid and try again"
I had created a .bib file with cb2bib which was imported just fine to zotero.
Later on I added references to the existing (already imported file) .bib file, the new references did not appear in zotero. So I decided to delete it from zotero and import it again. At that point I got this error. I can not import that specific file.
Later, I thought why not create a new .bib file and see if that would be imported with no error and it did!
So the problem exists with only that one .bib file that I changed by adding references.
What do you suggest to change in order to make it "importable" ?
  • Can you post the problematic file somewhere?
  • do you mean to upload it and give the link?
    In what website?

    The error report is :
    "[JavaScript Error: "σφάλμα σύνταξης" {file: "moz-nullprincipal:{9fe9a429-3ac3-47c2-9e95-9fb2b000bac3}" line: 1 column: 1 source: "% cb2Bib 1.3.6"}]
    1594906767"
    "σφάλμα σύνταξης" = syntax error
    and the error ID is 1594906767
  • yes - for example, put the file on gist.github.com as a public gist and post the link here.

    Looking at the error something might be off right in the first line - maybe something should be commented out but isn't?
  • Yep you are right ! there was a problem with the file.
    I had linked one article to a folder, then moved the article to another folder and then problem
    I had to delete the folder-attachment for each article.
    Everything works fine now, it is imported with no problem.
    Thank you very much!
Sign In or Register to comment.