Could not parse YAML / bad indentation of mapping entry on redirects.yaml

Help I am getting this error:

Could not parse YAML: bad indentation of a mapping entry (6:47) 3 | … lose-your-mummy-tummy: /lose-a-pound-a-day-weight-loss-trick

I was able to fix it and upload it by deleting everything after the first few entries, but when I try to clean them up by taking extra spaces out, it still won’t upload. I am using BBEdit to do this on a mac.

What am I doing wrong?

301:
  /corganic: /shop-supplements/#cod-liver-oil
  /book-review-lose-your-mummy-tummy: /lose-a-pound-a-day-weight-loss-trick
  /got-bacteria-10-reasons-to-eat-fermented-foods: /eat-fermented-foods/
  /q-and-a-june-17-2012: /q-a-january-15-2012: /tags/
  /village-green-premium-new-real-food-discount-club: /tags/
  /fitbit-challenge-2017: /tags/ 
  /weight-loss-challenge-15-pounds-6-weeks-day-29: /tags/
  /week-save-85-new-year-new-summi: /tags/
  /not-vaccinate-children: /not-v-ccinate-children/
  /best-amazon-black-friday-deals: /tags/
  /best-kitchen-gadgets-2016-10-kitchen-gadgets-will-change-life: /tags/
  /weight-loss-challenge-15-pounds-in-6-weeks-challenge-day-2: /tags/
  /weight-loss-challenge-15-pounds-in-6-weeks-day-3: /tags/
  /weight-loss-challenge-15-pounds-6-weeks-day-15: /tags/
  /giveaway-rosita-evclo-brand-new-rosita-evclo-capsules: /tags/
  /fathers-day-gift-ideas: /tags/
  /best-kombucha-recipes: /tags/
  /weight-loss-challenge-15-pounds-6-weeks-day-19: /tags/
  /new-food-allergy-blog-reversing-food-allergies: /tags/
  /real-food-kitchen-tour-the-simple-paleo-life: /tag/real-food-kitchen-tour/
  /real-food-kitchen-tour-healy-real-food-vegetarian: /tag/real-food-kitchen-tour/
  /real-food-kitchen-tour-honest-to-goodness-living: /tag/real-food-kitchen-tour/
  /real-food-kitchen-tour-polivka-family: /tag/real-food-kitchen-tour/
  /real-food-kitchen-tour-simplistic-wholistic: /tag/real-food-kitchen-tour/
  /real-food-kitchen-tour-girl-meets-nourishment: /tag/real-food-kitchen-tour/
  /real-food-kitchen-tour-oh-lardy: /tag/real-food-kitchen-tour/
  /real-food-kitchen-tour-food-loves-writing: /tag/real-food-kitchen-tour/
  /real-food-kitchen-tour-grannys-vital-vittles: /tag/real-food-kitchen-tour/
  /real-food-kitchen-tour-dr-kaayla-daniel: /tag/real-food-kitchen-tour/
  /real-food-kitchen-tour-cultured-palate: /tag/real-food-kitchen-tour/
  /real-food-kitchen-tour-a-crafty-gourmet-2: /tag/real-food-kitchen-tour/
  /black-friday-sale-2013: /tag/real-food-kitchen-tour/
  /1st-annual-fitbit-challenge-week-4: /tags/
  /sprouted-flour-pizza: /tags/
  /1st-annual-fitbit-challenge-week-3: /tags/
  /free-e-book-how-i-reversed-my-food-allergies: /tags/
  /essential-oils-repelling-bugs: /tags/
  /1st-annual-fitbit-challenge-new-fitbit-group: /tags/
  /1st-annual-fitbit-challenge-week-2: /tags/
  /1st-annual-fitbit-challenge-week-1: /tags/
  /what-i-buy-on-amazon-subscribe-and-save: /tags/
  /real-food-kitchen-tour-20-something-allergies-counting-down: /tag/real-food-kitchen-tour/
  /join-the-fitbit-challenge-500-in-prizes: /tags/
  /1st-annual-fitbit-challenge-week-5: /tags/
  /2009/04/02/do-bread-cereal-cause-cavities-reversing-dental-decay-with-food: /do-bread-cereal-cause-cavities-reversing-dental-decay-with-food/

It looks like the 5th line is messed up:

/q-and-a-june-17-2012: /q-a-january-15-2012: /tags/

Try this:

301:
  /corganic: /shop-supplements/#cod-liver-oil
  /book-review-lose-your-mummy-tummy: /lose-a-pound-a-day-weight-loss-trick
  /got-bacteria-10-reasons-to-eat-fermented-foods: /eat-fermented-foods/
  /q-and-a-june-17-2012: /tags/
  /q-a-january-15-2012: /tags/
  /village-green-premium-new-real-food-discount-club: /tags/
  /fitbit-challenge-2017: /tags/
  /weight-loss-challenge-15-pounds-6-weeks-day-29: /tags/
  /week-save-85-new-year-new-summi: /tags/
  /not-vaccinate-children: /not-v-ccinate-children/
  /best-amazon-black-friday-deals: /tags/
  /best-kitchen-gadgets-2016-10-kitchen-gadgets-will-change-life: /tags/
  /weight-loss-challenge-15-pounds-in-6-weeks-challenge-day-2: /tags/
  /weight-loss-challenge-15-pounds-in-6-weeks-day-3: /tags/
  /weight-loss-challenge-15-pounds-6-weeks-day-15: /tags/
  /giveaway-rosita-evclo-brand-new-rosita-evclo-capsules: /tags/
  /fathers-day-gift-ideas: /tags/
  /best-kombucha-recipes: /tags/
  /weight-loss-challenge-15-pounds-6-weeks-day-19: /tags/
  /new-food-allergy-blog-reversing-food-allergies: /tags/
  /real-food-kitchen-tour-the-simple-paleo-life: /tag/real-food-kitchen-tour/
  /real-food-kitchen-tour-healy-real-food-vegetarian: /tag/real-food-kitchen-tour/
  /real-food-kitchen-tour-honest-to-goodness-living: /tag/real-food-kitchen-tour/
  /real-food-kitchen-tour-polivka-family: /tag/real-food-kitchen-tour/
  /real-food-kitchen-tour-simplistic-wholistic: /tag/real-food-kitchen-tour/
  /real-food-kitchen-tour-girl-meets-nourishment: /tag/real-food-kitchen-tour/
  /real-food-kitchen-tour-oh-lardy: /tag/real-food-kitchen-tour/
  /real-food-kitchen-tour-food-loves-writing: /tag/real-food-kitchen-tour/
  /real-food-kitchen-tour-grannys-vital-vittles: /tag/real-food-kitchen-tour/
  /real-food-kitchen-tour-dr-kaayla-daniel: /tag/real-food-kitchen-tour/
  /real-food-kitchen-tour-cultured-palate: /tag/real-food-kitchen-tour/
  /real-food-kitchen-tour-a-crafty-gourmet-2: /tag/real-food-kitchen-tour/
  /black-friday-sale-2013: /tag/real-food-kitchen-tour/
  /1st-annual-fitbit-challenge-week-4: /tags/
  /sprouted-flour-pizza: /tags/
  /1st-annual-fitbit-challenge-week-3: /tags/
  /free-e-book-how-i-reversed-my-food-allergies: /tags/
  /essential-oils-repelling-bugs: /tags/
  /1st-annual-fitbit-challenge-new-fitbit-group: /tags/
  /1st-annual-fitbit-challenge-week-2: /tags/
  /1st-annual-fitbit-challenge-week-1: /tags/
  /what-i-buy-on-amazon-subscribe-and-save: /tags/
  /real-food-kitchen-tour-20-something-allergies-counting-down: /tag/real-food-kitchen-tour/
  /join-the-fitbit-challenge-500-in-prizes: /tags/
  /1st-annual-fitbit-challenge-week-5: /tags/
  /2009/04/02/do-bread-cereal-cause-cavities-reversing-dental-decay-with-food: /do-bread-cereal-cause-cavities-reversing-dental-decay-with-food/
2 Likes

That worked! Thank you so much!

Can you tell me what you did to fix it? I’m still stumped.

Yep! I changed this line:

 /q-and-a-june-17-2012: /q-a-january-15-2012: /tags/

To these 2:

  /q-and-a-june-17-2012: /tags/
  /q-a-january-15-2012: /tags/
2 Likes

Oh, I see the error now. Thank you so much. You made my weekend. God bless you.

1 Like