XData Exception

Hi, I have the following code:

 User := TXDataOperationContext.Current.Request.User;
  if User = nil then
    raise EXDataHttpUnauthorized.Create('Usuario no autenticado.');
  if  (User.Claims.Exists('IdUsuario')) then
       IdUsuario := User.Claims['IdUsuario'].AsInt64;
       if not AutorizaAccesoMetodo(IdUsuario,AMetodo) then
         raise EXDataHttpForbidden.Create('No tiene los privilegios suficientes.');
   else raise EXDataHttpForbidden.Create('Error en credenciales del usuario.');

When EXDataHttpUnauthorized is raised on server, on client side I get exception message ok "XData Request Error. Uri: http...Status Code:401...", but when EXDataHttpForbidden is raised on server on client side I get "HttpEngine error. Cannot load response content. It has been already retrieved."

Any hint?

Thanks in advance,

Omar Zelaya

My mistake, Fixed.