better logging when REST requests fail to be resolved