[Tex/LaTex] Problems with \printbibliography

apa-stylebiblatex

I am writing my thesis and need to do this with apa citation style.

I used the following code in my main document:

\usepackage[backend=biber,style=apa,sorting=none,natbib=true]{biblatex}
\addbibresource{library.bib} 
\usepackage[autostyle=true]{csquotes} 

and in the end of my main document..

\printbibliography[heading=bibintoc,[title={References}]

However I always get this error:

"Undefined control sequence.
\printbibliography[heading=bibintoc,[title={References}]"

Furthermore in my references table, I get (yearmonthday) instead of (2015)e.g. and the references are not alphabetically sorted.

Best Answer

There are several things you have to check for when using biblatex. Some of them were already outlined in the comments.
The \printbibliography should look like \printbibliography[heading=bibintoc,title=References]
To start, here Is a functioning example from my template I use:

\usepackage[american]{babel}
\usepackage[style=apa,backend=biber]{biblatex}
\DeclareLanguageMapping{american}{american-apa} %Literaturverzeichnis american-apa style
\addbibresource{library.bib} 
\usepackage[babel,threshold=2]{csquotes}