# Problem File ended while scanning use of \field. \begin{document} when compile [duplicate]

EDIT 1: Here is the full code, including .tex and .bib files. Any help?

I'm trying to write an article, but all day I've been compiling and always everything goes wrong. I wrote a little code for the example:

\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[
backend=biber,
citestyle=authoryear-comp,
bibstyle=authoryear,
giveninits=true,
maxcitenames=2,
uniquelist=false,
sorting=ynt,
sortcites,
maxbibnames=99,
url=false,
eprint=false,
dashed=false,
]{biblatex}
\begin{document}
\section{Introdução}
\parencite{Paerl2009}
\parencite{Pantelic2013}
\end{document}


The references are stored in the References.bib

@Article{Paerl2009,
author   = {Paerl, H. W. and Huisman, J.},
title    = {Climate change: a catalyst for global expansion of harmful cyanobacterial blooms},
journal  = {Environmental Microbiology Reports},
year     = {2009},
}

@Article{Pantelic2013,
author   = {Pantelic, D. and Svircev, Z. and Simeunovic, J. and Vidovic, M. and Trajkovic, I.},
title    = {Cyanotoxins: characteristics, production and degradation routes in drinking water treatment with reference to the situation in {Serbia}},
journal  = {Chemosphere},
year     = {2013},
}


Always when I compile, I get

File ended while scanning use of \field. \begin{document}

Any hint whats going on?

• Does exactly that code give you that error? What is the full text of the error message? Paste the code into a clean .tex file. Does it still give you the same error?
– cfr
Jul 5, 2017 at 1:09
• Off-topic: it makes no sense to use author-year and then specify ynt sort order. Unless the purpose is to deliberately confound your readers.
– cfr
Jul 5, 2017 at 1:37
• You have a lot of reserved chars in your .bib file, for example the key Kurniawati2014 has ...separation efficiency of >93% microalgae cells was found at 20 mg/L of saponin. Removal efficiency of >54.4% and >73.0%... all these % should become \%. If you look carefully at the log, you'll find them. Jul 5, 2017 at 6:07
• Your file has some other problems, but your biggest problem right now are the % in the abstract field. See Prevent biber from choking on “%” characters in abstract?, Error with percent sign in bib entry field when using biblatex/biber Jul 5, 2017 at 6:13