Here, we found that the expression levels of atf6, hspa5 and hsp90b1 were elevated in the livers of HF and HFC diets-fed larvae compared to the control, indicating that HF and HFC diets lead to the dysfunction of ER. The gene discussed is ATF6; the disease is hydrops fetalis.