Rename internalError to request-error. Closes #2144