How to revert a change if node version has changed before?

How to revert a change if node version has changed before?

I was using https://revert.monicz.dev/ to revert some changes when this error showed up in a changeset. In this changeset, I wanted to not reverted a node and revert a way. (The nodes of that way has been modified earlier and this error showed up:-

Version mismatch: Provided 2, server had: 4 of Node

I was using https://maps.mail.ru/osm/tools/overpass/api/interpreter

Whether manual edit isn’t a variant?

Can you show which changeset you are trying to revert and which way the error occurred on?

And also the full osm-revert log. Usually after this error, you’ll see:The Overpass data is outdated, please try again shortly

1 Like

I deleted this node 10234534261 and added it as way 1394483403 some months prior but I released that it wasn’t being displayed in OSM. So, I added it a node which is 13018777124.

So, Yesterday I realised that I should delete node 13018777124 and add node 10234534261 at this place. I apparently had deleted and added the way in the same changeset. I thought to keep both node 10234534261 and way 1394483403 at this place.

I tried reverting the changeset but way 1394483403 got deleted and node 10234534261 was at its place again. So, I tried reverting it to bring back way 1394483403 and I deleted nodes of this way which are 12908980914, 12908980915, 12908980916, 12908980917, 12908980918, 12908980919, 12908980920, 12908980921, 12908980922, 12908980923, 12908980924, 12908980925, 12908980926 .

So, I am trying to bring way 1394483403.

Some changeset of this whole incident are:-
167520385
169334412
177068076
177092824
177093406
177093586

Here is what happened:-
I deleted this node 10234534261 and added it as way 1394483403 some months prior but I released that it wasn’t being displayed in OSM. So, I added it a node which is 13018777124.

So, Yesterday I realised that I should delete node 13018777124 and add node 10234534261 at this place. I apparently had deleted and added the way in the same changeset. I thought to keep both node 10234534261 and way 1394483403 at this place.

I tried reverting the changeset but way 1394483403 got deleted and node 10234534261 was at its place again. So, I tried reverting it to bring back way 1394483403 and I deleted nodes of this way which are 12908980914, 12908980915, 12908980916, 12908980917, 12908980918, 12908980919, 12908980920, 12908980921, 12908980922, 12908980923, 12908980924, 12908980925, 12908980926 .

So, I am trying to bring way 1394483403.

Some changeset of this whole incident are:-
167520385
169334412
177068076
177092824
177093406
177093586

Changeset: 177092824 | OpenStreetMap

revert:filter=node; way[!1394483403]

It’s worth noting that you are using the wrong filter. way[!1394483403] filters out objects without the key 1394483403, not OSM ID (docs)


If I understand correctly, you want to restore w1394483403

You almost did the right thing with the revert in Changeset: 177093406 | OpenStreetMap. You just forgot to specify the way filter. Try to retry the revert with this filter added.

Did it myself with some help from trickyfoxy