request handler throws internalError not error