Renew response: Fix mixup of error type and detail (and add test)