I'm facing an odd issue. I need to cite a piece with two authors, and both have accents in their surnames (Molina Alarcón and Cerdá y Ferré). Problem is I can add two accents, ó and á, but not the é. Once I do that an error surfaces. Any idea how to solve this issue. As you can see in the MWE, I'm using {\'{o}}, {\'{a}}, {\'{a}} to replace the accented characters in the bib file.
MWE:
\documentclass[spanish]{article}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[backend=biber,citestyle=authoryear,url=true,backref=bibtex,bibstyle=apa]{biblatex}
\DeclareLanguageMapping{spanish}{spanish-apa}
\DefineBibliographyStrings{spanish}{%
andothers = {et al.},
}
\makeatletter \DefineBibliographyExtras{spanish} {\setcounter{smartand}{1}
\let\lbx@finallistdelim=\lbx@es@smartand \let\lbx@finalnamedelim=\lbx@es@smartand} \makeatother
\addbibresource{example.bib}
\begin{filecontents}{example.bib}
@article{MolinaCerda2012,
author = {Molina Alarc{'{o}}n, Miguel and Cerd{'{a}} i Ferr{'{e}}, Josep},
issn = {1989-8452},
journal = {Arte y Pol{'{i}}ticas de Identidad},
number = {7},
pages = {11--14},
title = {{Introducci{'{o}}n. Entre el arte sonoro y el arte de la escucha}},
volume = {7},
year = {2012}
}
\end{filecontents}
\begin{document}
As \textcite{MolinaCerda2012} stated: "quote."
\printbibliography
\end{document}
EDIT: This is the error I get when compiling:
(/usr/local/texlive/2014/texmf-dist/tex/latex/biblatex-apa/spanish-apa.lbx
(/usr/local/texlive/2014/texmf-dist/tex/latex/biblatex/lbx/spanish.lbx))
(./mwe.aux) (./mwe.bbl)
! Argument of \UTFviii@three@octets has an extra }.
<inserted text>
\par
l.30 As \textcite{MolinaCerda2012}
stated: "quote."
?
About my system, I'm using a Mac, OSX is Mojave 10.14.6. My editor is TeXworks 0.6.5 (I cannot upgrade it any more, next one is only compatible with Big Sur and superior ones).

.logfile of your LaTeX run to a text-sharing website such as https://pastebin.com/, https://gist.github.com/ (please use a text-sharing website and not a file-sharing website). That said, while{\'{e}}and friends should certainly work, it is usually easier on the eye to writeéand usebackend=biber,(which is recommended anyway). – moewe Feb 05 '22 at 07:43