Request handler throws internalError not error