Was that prescribed by a doctor? This site say ectopic pregnancy is a contraindication for the abortion pill:
“…Absolute contraindications include the following: the presence of an ectopic pregnancy, as MIFE/MISO [mifepristone/misoprostol] will not work and surgery is more appropriate”