Moreover, we found that the fecal concentrations of 1, 4-Methylimidazoleacetic acid, and imidazolepropionic acid that were enriched in histidine metabolism were also significantly increased in the miscarriage group and aligned well with the increased IL-17, TNF-α, and IFN-γ in this group. The gene discussed is TNF; the disease is spontaneous abortion.