I am using the following code:
\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{enumitem}
\usepackage{gensymb}
\begin{document}
\begin{align*}
x &= a^{\log_a (x)} \bigg\vert \ln () \\
\Leftrightarrow \qquad \ln (x) &= \ln \left(a^{\log_a (x)} \right) \\
\Leftrightarrow \qquad \ln (x) &= \log_a (x) \cdot \ln (a) \bigg\vert - \ln (a) \\
\Leftrightarrow \qquad \frac{\ln (x)}{\ln (a)} &= \log_a (x) \right)
\end{align*}
\end{document}
to produce something close to an equivalent transformation, however it gives me the error
! Missing } inserted. } l.187 \end{align*} ?
I am sorry that this is such a basic and already often-asked question but I cannot seem to find the exact error.
\right)
that's misplaced.