You have a syntax error.
I used
N[E^(-Pi/2), 50000]
and there was no problem. I tried several other numbers, including 34650, and there was not problem with the correct code.
You may have wanted to enter the greek symbol for pi, using \[Pi]
. If this is the case, you missed the '\'. On my system, the entry automatically changes to ? before evaluation.
I find it easier to use the escape key to enter ?, esc-p-esc, as documented on the page for Pi.