Errors occurred while trying to save Precondition failed

I’ll try to answer:

  • Your edits are definitely not lost and can be added to the map.
  • Acording to this post, which you may want to read, iD does not support the upload of.osc files. Other editors (like JOSM or Vespucci) do though. If using one of those seems daunting to you, others could upload your changeset for you via JOSM.
  • Relevant iD GitHub issue