The question is the following: Prove that $-1$ is not the sum of two squares in $\mathbb{Q}(\sqrt{-7})$.
I have a solution which makes use of Algebraic Number Theory, namely the Dirichlet Unit Theorem about units in a number field. Hopefully this solution is correct.
Suppose that $x^2 + y^2 = -1$ with $x, y \in \mathbb{Q}(\sqrt{-7})$. By working in $\mathbb{Q}(\sqrt{\pm 7})$, we can factor this as $(x+iy)(x-iy) = -1$, where $x, y \in \mathbb{Q}(\sqrt{-7})$. It follows that $x+iy$ is an element with complex absolute value $1$, for any embedding $\mathbb{Q}(\sqrt{\pm 7}) \hookrightarrow \mathbb{C}$, so by the Dirichlet Unit Theorem it follows that $x+iy$ is a root of unity, which must be inside $\mathbb{Q}(\sqrt{\pm 7})$. However it is not too difficult to find that those are $\pm 1, \pm i$ and those do not give solutions to the equation.
However I am wondering if there is a more elementary solution to this problem, especially one that does not require the use of the Dirichlet Unit Theorem.
An elementary solution that shows that $-1$ is not a sum of squares from $\mathbb{Z}[\sqrt{-7}]$. Assume $\sum_k (a_k + b_k \sqrt{-7})^2 = -1$ that is $\sum_k (a_k^2 - 7 b_k^2) =-1$ and $\sum_k 2 a_k b_k = 0$, adding the last two equalities we get $$\sum_k (a_k + b_k)^2 =-1 +8 \sum_k ( b_k)^2$$
so a sum of three squares $\equiv -1 \pmod 8$, not possible.