Your function will need to be defined.
Note that the function
$
\operatorname{arccsc}(x)
$
has domain $(-\infty,-1] \cup [1,\infty)$.
However,
$$
x > 0 \implies x+7 > x \implies 0 < \frac{x}{x+7} < 1
$$
so $\operatorname{arccsc}(\frac{x}{x+7})$ is not defined as $x \to \infty$. It certainly doesn't have a limit as a result.
Your error is trying to use continuity and say
$$
\lim_{x \to \infty} \operatorname{arccsc}\left (\frac{x}{x+7} \right)
=
\operatorname{arccsc}\left (\lim_{x \to \infty} \frac{x}{x+7} \right)
$$
This makes sense for functions continuous at and around a finite value $c$ as $x \to c$, but one has to be careful as $x \to \infty$. (For instance, "continuous at infinity" generally is a nonsensical notion.) As one sees here, that case can be quite a bit more complicated.